ci: Use a PAT with tag-new in order to trigger the release workflow. #10
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: tag new release | |
on: | |
push: # for testing | |
pull_request: # for testing | |
workflow_dispatch: # manual invocation | |
schedule: | |
- cron: "30 5 * * 0" | |
jobs: | |
tag: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: mathieudutour/github-tag-action@v6.2 | |
continue-on-error: true # ok to not make a new tag | |
with: | |
# Special PAT so that we trigger new workflows | |
github_token: ${{ secrets.TAG_TOKEN }} | |
create_annotated_tag: true | |
custom_release_rules: ci:none,chore:none,style:none | |
dry_run: ${{ github.event_name != 'workflow_dispatch' && github.event_name != 'schedule' }} |