We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 0a6a487 + a85dcd6 commit ccb92f4Copy full SHA for ccb92f4
.github/workflows/docker-build-dev.yml
@@ -5,11 +5,6 @@ on:
5
workflows: ["ESLint"]
6
types:
7
- completed
8
- branches:
9
- - dev
10
- push:
11
12
13
pull_request:
14
15
- closed
@@ -19,9 +14,10 @@ on:
19
jobs:
20
build:
21
16
if: |
22
- github.event.workflow_run.conclusion == 'success'
23
- github.event_name == 'push' ||
24
- (github.event_name == 'pull_request' && github.event.pull_request.merged == true)
17
+ (github.event_name == 'pull_request' && github.event.pull_request.merged == true) ||
18
+ (github.event_name == 'workflow_run' &&
+ github.event.workflow_run.conclusion == 'success' &&
+ github.event.workflow_run.head_branch == 'dev')
25
runs-on: ubuntu-latest
26
27
steps:
0 commit comments