chore: fix issue templates for labels and MSRV #667
Workflow file for this run
This file contains hidden or 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 | |
| # Draft notes + PR autolabels only. | |
| # Tags, GitHub Releases, and crates.io publish are owned by release-plz | |
| # (.github/workflows/release-plz.yml) from v0.2.0 onward. | |
| on: | |
| push: | |
| branches: | |
| - main | |
| pull_request: | |
| types: [opened, reopened, synchronize] | |
| permissions: | |
| contents: read | |
| jobs: | |
| update_release_draft: | |
| permissions: | |
| contents: write # write draft releases | |
| pull-requests: read | |
| runs-on: ubuntu-latest | |
| if: github.event_name == 'push' && github.ref_type == 'branch' | |
| steps: | |
| - uses: release-drafter/release-drafter@v7 | |
| with: | |
| token: ${{ secrets.GITHUB_TOKEN }} | |
| update_pr_label: | |
| permissions: | |
| contents: read | |
| pull-requests: write | |
| runs-on: ubuntu-latest | |
| if: github.event_name == 'pull_request' | |
| steps: | |
| - uses: release-drafter/release-drafter/autolabeler@v7 | |
| with: | |
| token: ${{ secrets.GITHUB_TOKEN }} |