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 2bb9b2d commit d7712a6Copy full SHA for d7712a6
1 file changed
.github/workflows/release.yml
@@ -1,8 +1,8 @@
1
-name: Release
+name: release
2
3
on:
4
workflow_run:
5
- workflows: ["Test"]
+ workflows: ["tests", "linter"]
6
types: [completed]
7
pull_request:
8
branches: ["master"]
@@ -12,9 +12,7 @@ permissions:
12
13
jobs:
14
release:
15
- if: >
16
- github.event.workflow_run.conclusion == 'success' &&
17
- github.event.workflow_run.head_branch == 'master'
+ if: github.event.pull_request.merged == true
18
runs-on: ubuntu-latest
19
steps:
20
- name: Checkout
@@ -112,4 +110,4 @@ jobs:
112
110
generate_release_notes: true
113
111
env:
114
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
115
-
+
0 commit comments