Skip to content

pantheon-systems/action-autotag

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Repository files navigation

Autotag action

Unofficial Support Lint Autotag and Release MIT License GitHub release (latest by date)

A GitHub action that implements pantheon-systems/autotag.

What's it do?

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.

Inputs

gh-token

A GitHub token with repo scope. This is used to create the tag and release.

Usage

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 }}