Autotag and Release Action
ActionsA GitHub action that implements autotag-dev/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.
INPUT | TYPE | REQUIRED | DEFAULT | DESCRIPTION |
---|---|---|---|---|
create-release | string | false | "true" |
Whether to create a release from the tag or not. 'true', 'false'. |
push-major-version-branch | string | false | "false" |
Push to a branch matching the major version number on the origin repository |
push-tag | string | false | "true" |
Push the tag to the origin repository |
v-prefix | string | false | "true" |
Whether to prefix the tag with the letter 'v'. |
workdir | string | false | "." |
Directory with the code to tag |
OUTPUT | TYPE | DESCRIPTION |
---|---|---|
tag | string | The tag that was created |
name: Autotag and Release
on:
push:
branches:
- main
permissions:
contents: write
jobs:
tag-release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: pantheon-systems/action-autotag@v1
Autotag and Release Action is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.