Skip to content

Latest commit

 

History

History
33 lines (25 loc) · 1006 Bytes

README.md

File metadata and controls

33 lines (25 loc) · 1006 Bytes

GitHub Action to Create Releases Based on a Keyword

The Keyword Releaser will create a release based on the keyword specified in the arguments.

Secrets

  • GITHUB_TOKEN - Required Allows the Action to authenticte with the GitHub API to create the release.

Environment Variables

  • N/A

Arguments

  • Required - A single keyword. If the keyword is found in a commit message, a release will be created. Although case is ignored, it's suggested to use a unique, uppercase string like FIXED, READY_TO_RELEASE, or maybe even PINEAPPLE.

Examples

Here's an example workflow that uses the Keyword Releaser action. The workflow is triggered by a PUSH event and looks for the keyword "FIXED".

name: keyword-monitor

on:
  push:

jobs:
  keyword-releaser:
    runs-on: ubuntu-latest
    steps:
      - name: Keyword Releaser
        uses: managedkaos/keyword-releaser@master
        with:
          args: FIXED
        env:
          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}