Add auto PR labeler + remove dependabot docker config (#2) #1
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
name: Release | |
on: | |
push: | |
branches: | |
- 'releases/**' | |
permissions: | |
contents: read | |
jobs: | |
Release: | |
name: Release Workflow | |
runs-on: ubuntu-latest | |
permissions: | |
# write permission is required to create a github release | |
contents: write | |
pull-requests: write | |
id-token: write # needed for cosign keyless signing with OIDC | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Extract build info | |
id: extract_build_info | |
run: | | |
echo "tag=${GITHUB_REF##*/}" >> $GITHUB_OUTPUT | |
echo "commit_short=$(git rev-parse --short HEAD)" >> $GITHUB_OUTPUT | |
- name: Tag Release | |
shell: bash | |
run: | | |
git tag ${{ steps.extract_build_info.outputs.tag }} | |
git push origin ${{ steps.extract_build_info.outputs.tag }} | |
- name: Publish Release Notes | |
uses: release-drafter/release-drafter@v6 | |
with: | |
disable-autolabeler: true | |
commitish: ${{ github.ref }} | |
tag: ${{ steps.extract_build_info.outputs.tag }} | |
publish: true | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |