This action will automatically sync major and minor tags with the latest release tag.
required The GitHub token to use to create the tags.
optional(default: 'v'
) The prefix to use for the version tags.
optional(default: ''
) The suffix to use for the version tags.
optional(default: '.'
) The separator to use for the version tags.
name: Tag sync
on:
release:
types: [published]
jobs:
tag-sync:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Tag sync
uses: francktrouillez/auto-tag-sync@v1
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
If you are having permission issues, make sure the action has the permission to write in the repository.
Contributions are welcome! Feel free to open an issue or submit a pull request if you have any ideas or improvements for the action.