git-auto-commit-action/.github/workflows/versioning.yml

22 lines
530 B
YAML
Raw Normal View History

2020-05-17 16:08:37 +08:00
name: Keep the versions up-to-date
on:
release:
types: [published, edited]
jobs:
actions-tagger:
runs-on: windows-latest
2023-02-11 19:23:24 +08:00
permissions:
2023-02-12 04:14:56 +08:00
# Give the default GITHUB_TOKEN write permission.
2023-02-11 19:23:24 +08:00
# https://github.blog/changelog/2023-02-02-github-actions-updating-the-default-github_token-permissions-to-read-only/
contents: write
2020-05-17 16:08:37 +08:00
steps:
- uses: Actions-R-Us/actions-tagger@latest
env:
GITHUB_TOKEN: "${{secrets.GITHUB_TOKEN}}"
with:
2020-08-17 02:05:44 +08:00
publish_latest_tag: true