mirror of
https://github.com/hashicorp/actions-create-release-branch
synced 2026-04-05 19:06:23 +00:00
No description
|
|
||
|---|---|---|
| action.yml | ||
| CODEOWNERS | ||
| LICENSE | ||
| README.md | ||
Create Release Branch Action
Creates a new release branch based on the repo's version/VERSION file contents.
This is intended for internal HashiCorp use only
Usage
-
Make sure your repo's service account is configured to bypass branch protection rules on
main. -
Create a local workflow called
create-release-branch.ymland include the following:name: Create a release branch on: - workflow_dispatch jobs: create-branch: runs-on: [linux, small] steps: - uses: actions/checkout@v3 - uses: hashicorp/actions-create-release-branch@v1 with: token: ${{ secrets.ELEVATED_GITHUB_TOKEN }} -
Run your workflow from the Github Actions UI.