-
-
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
dffa130
commit 67257b0
Showing
3 changed files
with
55 additions
and
68 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
This file was deleted.
Oops, something went wrong.
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,32 @@ | ||
# This workflow triggers the release process after code check is completed | ||
# | ||
name: Release | ||
run-name: ${{ github.event.workflow_run.head_commit.message }} [${{ github.event.workflow_run.id }}] | ||
|
||
# Controls when the action will run. | ||
on: | ||
workflow_run: | ||
workflows: [Checks] | ||
types: [completed] | ||
branches: [main, next, beta, alpha] | ||
|
||
concurrency: | ||
# group: ${{ github.workflow }}_${{ github.head_ref || github.ref || github.run_id }} | ||
# Use the name of the triggering workflow run as the concurrency group to avoid conccurency issues | ||
group: ${{ github.workflow }}_${{ github.event.workflow_run.head_branch || github.ref_name || github.run_id }} | ||
cancel-in-progress: true | ||
|
||
jobs: | ||
semantic-release: | ||
if: ${{ github.event.workflow_run.conclusion == 'success' }} | ||
name: '▶️ actions' | ||
uses: ./.github/workflows/semantic-release.yml | ||
secrets: | ||
NPM_TOKEN: ${{ secrets.NPM_TOKEN }} | ||
GH_TOKEN: ${{ secrets.GH_TOKEN }} | ||
permissions: | ||
contents: write | ||
issues: write | ||
pull-requests: write | ||
packages: write | ||
id-token: write |