Updates for auto-labeler branch regex #289
Workflow file for this run
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 Drafter | |
on: | |
push: | |
branches: | |
- main | |
pull_request_target: | |
types: [opened, reopened, synchronize] | |
permissions: | |
contents: read | |
jobs: | |
update_release_draft: | |
permissions: | |
contents: write | |
pull-requests: write | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4.1.0 | |
- name: "Determine next version" | |
id: next_version | |
run: | | |
chmod +x .github/next_release_version.bash | |
echo "result=$(bash .github/next_release_version.bash)" >> $GITHUB_OUTPUT | |
- uses: release-drafter/release-drafter@65c5fb495d1e69aa8c08a3317bc44ff8aabe9772 # v5.24.0 | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
with: | |
version: ${{ steps.next_version.outputs.result }} |