chore(Cr-24805 security): updated ubuntu, git-lfs, busybox (#83) #2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## Reference: https://github.com/release-drafter/release-drafter | |
name: Create Release | |
on: | |
push: | |
branches: | |
- master | |
jobs: | |
create_release: | |
name: Create Release | |
runs-on: ubuntu-latest | |
permissions: | |
contents: write | |
pull-requests: write | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
- name: Set up YQ | |
uses: frenck/action-setup-yq@v1 | |
- name: Get release version from service.yaml | |
run: | | |
RELEASE_VERSION=$(yq eval '.version' service.yaml ) | |
echo "RELEASE_VERSION=$RELEASE_VERSION" >> $GITHUB_ENV | |
- uses: release-drafter/release-drafter@v5 | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
with: | |
publish: true | |
version: ${{ env.RELEASE_VERSION }} | |
config-name: release-drafter.yaml |