Skip to content

Commit a5a6889

Browse files
authored
feat: enable release branch option for tag action (#9)
* feat: enable release branch option for tag action * fix: fix markdownlint error
1 parent b761dcf commit a5a6889

2 files changed

Lines changed: 6 additions & 1 deletion

File tree

.github/actions/version-release/action.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@ inputs:
44
github-token:
55
required: true
66
description: "your GITHUB_TOKEN"
7+
release-branch:
8+
required: false
9+
description: "The branch the tag should be generated from (default: main)"
10+
default: "main"
711
version-bump:
812
required: false
913
description: "major, minor, or patch version bump"
@@ -22,6 +26,7 @@ runs:
2226
with:
2327
github_token: ${{ inputs.github-token }}
2428
default_bump: ${{ inputs.version-bump }}
29+
release_branches: ${{ inputs.release-branch }}
2530
- name: Create a GitHub release
2631
uses: ncipollo/release-action@v1
2732
with:

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ teams will be added.
1717
By default, all teams have `Triage` access to all repositories in the
1818
`rollkit` Github. This allows for anyone to help manage issues and pull
1919
requests (i.e. adding labels). Teams are given write access to the repositories
20-
that they are responsible for working on.
20+
that they are responsible for working on.
2121

2222
### Codeowners
2323

0 commit comments

Comments
 (0)