Release Drafter #263
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 | |
| on: | |
| push: | |
| branches: | |
| - main | |
| # nb: pushes by the github-actions bot (i.e. pushes resulting from | |
| # dependabot auto-merges) do not trigger trigger a `push` event. run | |
| # this daily, to make sure that we're regularly updating the pending | |
| # release with whatever dependabot's been up to. | |
| schedule: | |
| - cron: 0 0 * * * # every day at midnight | |
| # also allow running this manually, as an escape hatch | |
| workflow_dispatch: | |
| permissions: | |
| contents: read | |
| jobs: | |
| update_release_draft: | |
| permissions: | |
| contents: write | |
| pull-requests: read | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: release-drafter/release-drafter@v7 | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |