Fix render --reset=false not fast-forwarding existing branches to lat… #27
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] | |
| workflow_dispatch: | |
| permissions: | |
| contents: read | |
| pull-requests: write | |
| jobs: | |
| draft: | |
| runs-on: ubuntu-latest | |
| permissions: | |
| contents: write | |
| pull-requests: write | |
| steps: | |
| # Brief delay to allow GitHub API to propagate commit/PR data. | |
| # Without this, the GraphQL query for associated pull requests | |
| # can return empty results when run immediately after a push. | |
| - name: Wait for API propagation | |
| run: sleep 10 | |
| - uses: release-drafter/release-drafter@v6 | |
| with: | |
| publish: false | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |