Skip to content

An action to release a helm chart using the `@unsupervised/release-config-helm` release config, and sync main to alpha after a release

License

Notifications You must be signed in to change notification settings

Unsupervisedcom/action-release-helm-chart

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GitHub Action:Release helm chart

Releases helm charts using semantic-release with the @unsupervised/release-config-helm release config. This action uses main and alpha branches and releases. This action deletes the alpha branch and re-creates it from main after a release from main

- uses: Unsupervisedcom/action-release-helm-chart@undefined
  with:
    # github token to use for the release, if you want this to trigger other workflows
    # such as flows on release created, pass in a PAT
    # Default: ${{ github.token }}
    token: ""

    # If true, this action will disable the `include administrators` setting in branch
    # protection for this branch, and re-enable it after release. Re-enabling is run
    # using always()
    # Default: false
    toggle-admins: ""
Input Description Default Required
token github token to use for the release, if you want this to trigger other workflows such as flows on release created, pass in a PAT ${{ github.token }} false
toggle-admins If true, this action will disable the include administrators setting in branch protection for this branch, and re-enable it after release. Re-enabling is run using always() false
Output Description Default Required
random-number Random number

Example usage

name: Release
on:
  pull_request:
    types:
      - closed
    branches:
      - main
      - alpha
    paths:
      - "chart/**"
jobs:
  release:
    name: Release chart
    if: github.event.pull_request.merged == true
    runs-on: ubuntu-latest
    steps:
      - uses: Unsupervisedcom/action-release-helm-chart@v1
        with:
          token: ${{ secrets.DEPLOYER_CI_TOKEN }}

About

An action to release a helm chart using the `@unsupervised/release-config-helm` release config, and sync main to alpha after a release

Resources

License

Stars

Watchers

Forks

Packages

No packages published