-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
4c262b4
commit 208e9d9
Showing
3 changed files
with
53 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
on: | ||
push: | ||
branches: | ||
- main | ||
concurrency: | ||
group: ${{ github.workflow }}-${{ github.ref }} | ||
cancel-in-progress: true | ||
name: release-please | ||
jobs: | ||
release-please: | ||
runs-on: [ARM64, self-hosted, Linux] | ||
steps: | ||
# See https://docs.github.com/en/actions/security-guides/automatic-token-authentication#using-the-github_token-in-a-workflow | ||
# For why we need to generate a token and not use the default | ||
- name: Generate token | ||
id: generate_token | ||
uses: chanzuckerberg/github-app-token@v1.1.4 | ||
with: | ||
app_id: ${{ secrets.CZI_RELEASE_PLEASE_APP_ID }} | ||
private_key: ${{ secrets.CZI_RELEASE_PLEASE_PK }} | ||
|
||
- name: release please | ||
uses: google-github-actions/release-please-action@v4 | ||
id: release | ||
with: | ||
token: ${{ steps.generate_token.outputs.token }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
{ | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
{ | ||
"release-type": "simple", | ||
"pull-request-title-pattern": "chore${scope}: release${component} ${version}", | ||
"bump-minor-pre-major": true, | ||
"changelog-sections": [ | ||
{ | ||
"type": "feat", | ||
"section": "Features", | ||
"hidden": false | ||
}, | ||
{ | ||
"type": "fix", | ||
"section": "Bug Fixes", | ||
"hidden": false | ||
}, | ||
{ | ||
"type": "chore", | ||
"section": "Misc", | ||
"hidden": false | ||
} | ||
], | ||
"packages": { | ||
".": {} | ||
} | ||
} |