Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: enable release branch option for tag action #9

Merged
merged 2 commits into from
Dec 2, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .github/actions/version-release/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand All @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down