From a5a6889d109cb5794a580fd6693917834aab2d42 Mon Sep 17 00:00:00 2001 From: Matthew Sevey Date: Fri, 1 Dec 2023 21:14:35 -0500 Subject: [PATCH] feat: enable release branch option for tag action (#9) * feat: enable release branch option for tag action * fix: fix markdownlint error --- .github/actions/version-release/action.yml | 5 +++++ CONTRIBUTING.md | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/actions/version-release/action.yml b/.github/actions/version-release/action.yml index 5252688..9a31b66 100644 --- a/.github/actions/version-release/action.yml +++ b/.github/actions/version-release/action.yml @@ -4,6 +4,10 @@ inputs: github-token: required: true description: "your GITHUB_TOKEN" + release-branch: + required: false + description: "The branch the tag should be generated from (default: main)" + default: "main" version-bump: required: false description: "major, minor, or patch version bump" @@ -22,6 +26,7 @@ runs: with: github_token: ${{ inputs.github-token }} default_bump: ${{ inputs.version-bump }} + release_branches: ${{ inputs.release-branch }} - name: Create a GitHub release uses: ncipollo/release-action@v1 with: diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 3fc6701..992d284 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -17,7 +17,7 @@ teams will be added. By default, all teams have `Triage` access to all repositories in the `rollkit` Github. This allows for anyone to help manage issues and pull requests (i.e. adding labels). Teams are given write access to the repositories -that they are responsible for working on. +that they are responsible for working on. ### Codeowners