Add SVG header banner to README #9
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: Auto Tag | |
| on: | |
| push: | |
| branches: | |
| - master | |
| - main | |
| permissions: | |
| actions: write | |
| contents: write | |
| jobs: | |
| tag: | |
| runs-on: ubuntu-latest | |
| if: "!contains(github.event.head_commit.message, '[skip tag]')" | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| with: | |
| fetch-depth: 0 | |
| - name: Bump version and push tag | |
| id: tag_action | |
| uses: anothrNick/github-tag-action@1.71.0 | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| WITH_V: true | |
| DEFAULT_BUMP: patch | |
| PRERELEASE: false | |
| - name: Trigger release workflow for new tag | |
| if: ${{ steps.tag_action.outputs.new_tag != '' }} | |
| env: | |
| GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| NEW_TAG: ${{ steps.tag_action.outputs.new_tag }} | |
| run: gh workflow run release.yml --repo "${{ github.repository }}" -f release_ref="$NEW_TAG" |