CI: Cancel outdated PR builds when new commits are pushed to a PR branch #4711
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: TagBot | |
| on: | |
| issue_comment: | |
| types: | |
| - created | |
| workflow_dispatch: | |
| jobs: | |
| TagBot: | |
| if: github.event_name == 'workflow_dispatch' || github.actor == 'JuliaTagBot' | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: JuliaRegistries/TagBot@v1 | |
| with: | |
| token: ${{ secrets.GITHUB_TOKEN }} | |
| ssh: ${{ secrets.DOCUMENTER_KEY }} |