ci: Don't make a release if there's no changes worth releasing. #3
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: | ||
pull_request: # for testing | ||
workflow_dispatch: | ||
schedule: | ||
- cron: "30 5 * * 0" | ||
jobs: | ||
tag: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: mathieudutour/[email protected] | ||
with: | ||
github_token: ${{ secrets.GITHUB_TOKEN }} | ||
create_annotated_tag: true | ||
custom_release_rules: ci:none,chore:none,style:none | ||
default_bump: none | ||
dry_run: ${{ github.event_name != 'workflow_dispatch' && github.event_name $= 'schedule' }} | ||
Check failure on line 20 in .github/workflows/tag-new-release.yml GitHub Actions / tag new releaseInvalid workflow file
|