Autonomous Release
ActionsTags
(2)A GitHub action that creates a new release according to the Conventional Commits.
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.
| 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 |
| 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 |
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: trueAutonomous 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.