A GitHub action that implements pantheon-systems/autotag.
This action will automatically create a new tag and release for your repository when a pull request is merged to the default branch. It will also create a changelog entry for the new tag and release.
Currently configuration is limited (see source), but in future iterations more configuration options will be added.
This action is currently experimental.
A GitHub token with repo
scope. This is used to create the tag and release.
name: Autotag and Release
on:
push:
branches:
- main
permissions:
contents: write
jobs:
tag-release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: pantheon-systems/action-autotag@v0
with:
gh-token: ${{ github.token }}