Skip to content

Autonomous Release

Actions
Create a new release with an elegant release body
v1.3.1
Latest
Star (1)

Autonomous Release

Main GitHub release (latest SemVer) GitHub release (latest SemVer) GitHub License

A GitHub action that creates a new release according to the Conventional Commits.

What's it do?

This action will automatically create a new release for your repository when a tag is sent as parameter or a tag push event but it must conform on the Semantic versioning.

Inputs

Name Description Obligatory  Default
create Run mode of the action optional false
gh-token A GitHub token with repo scope. This is used to create release required
tag It's required to use in events except the tag push optional
create It's required to use in events except the tag push optional true

Outputs

Name Description
body The generated release body with the commits
release-id If release is created, it gives the release ref id
release-url If release is created, it gives the release html url

Usage

name: Release

on:
  push:
    tags:
      - v*

permissions:
  contents: write

jobs:
  tag:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v4
      - uses: oobook/autonomous-release@v1
        id: release-generation
        with:
          gh-token: ${{ github.token }}
name: Release

on:
  push:
    branches:
      - main
    tags-ignore:
      - v*

permissions:
  contents: write
  
jobs:
  test:
    runs-on: ubuntu-latest
    name: Test
    steps:
      - name: Checkout
        uses: actions/checkout@v4
      - name: Tag
      - uses: oobook/autonomous-tag
        id: tag-generation
        with:
          gh_token: ${{ secrets.GITHUB_TOKEN }}
      - name: Release
        uses: oobook/autonomous-release@v1
        with:
          gh_token: ${{ secrets.GITHUB_TOKEN }}
          tag: "${{ steps.tag-generation.outputs.tag }}"
          prerelease: true

Autonomous Release 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.

About

Create a new release with an elegant release body
v1.3.1
Latest

Autonomous Release 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.