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 97d2acb commit 8702110Copy full SHA for 8702110
.github/workflows/release.yaml
@@ -1,20 +1,16 @@
1
name: Release
2
-'on':
3
- push:
4
- branches:
5
- - main
+
+on:
6
workflow_run:
7
- workflows:
8
- - test-action
+ workflows: ["Tests"]
9
types:
10
- completed
11
branches:
12
- main
13
jobs:
14
release:
15
- if: >
16
- github.event_name == 'push' || (github.event.workflow_run.conclusion ==
17
- 'success' && github.event.workflow_run.event == 'push')
+ if: ${{ github.event.workflow_run.conclusion == 'success' }}
18
runs-on: ubuntu-latest
19
steps:
20
- name: Checkout code
@@ -23,4 +19,4 @@ jobs:
23
- name: Semantic Release
24
uses: ahmadnassri/action-semantic-release@v2
25
21
env:
26
- GITHUB_TOKEN: '${{ secrets.GITHUB_TOKEN }}'
22
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
0 commit comments