We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 846adb1 commit 0ca34aeCopy full SHA for 0ca34ae
.github/workflows/release.yml
@@ -1,8 +1,9 @@
1
name: Release
2
on:
3
- push:
4
- branches:
5
- - main
+ workflow_run:
+ workflows: [test]
+ branches: [main]
6
+ types: [completed]
7
jobs:
8
release:
9
@@ -25,5 +26,4 @@ jobs:
25
26
env:
27
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
28
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
- NPM_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
29
run: npx semantic-release
.github/workflows/test.yml
@@ -1,7 +1,5 @@
name: Test
-
-on: [pull_request, push]
+on: [push, workflow_call]
test:
runs-on: ubuntu-latest
0 commit comments