Skip to content

Commit eed9bc2

Browse files
committed
build: ensure initial reaction job finishes before starting main ones
1 parent ec233ec commit eed9bc2

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

.github/workflows/slash_commands.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,9 @@ jobs:
8787
# Define a display name:
8888
name: 'Check for required files'
8989

90+
# Ensure initial reaction job has completed before running this job:
91+
needs: [ add_initial_reaction ]
92+
9093
# Define the conditions under which the job should run:
9194
if: github.event.issue.pull_request && startsWith(github.event.comment.body, '/stdlib check-files')
9295

@@ -123,6 +126,9 @@ jobs:
123126
# Define a display name:
124127
name: 'Auto-fix lint errors'
125128

129+
# Ensure initial reaction job has completed before running this job:
130+
needs: [ add_initial_reaction ]
131+
126132
# Define the conditions under which the job should run:
127133
if: github.event.issue.pull_request && startsWith(github.event.comment.body, '/stdlib lint-autofix')
128134

@@ -142,6 +148,9 @@ jobs:
142148
# Define a display name:
143149
name: 'Merge changes from develop branch into this PR'
144150

151+
# Ensure initial reaction job has completed before running this job:
152+
needs: [ add_initial_reaction ]
153+
145154
# Define the conditions under which the job should run:
146155
if: github.event.issue.pull_request && startsWith(github.event.comment.body, '/stdlib merge')
147156

@@ -161,6 +170,9 @@ jobs:
161170
# Define a display name:
162171
name: 'Rebase this PR on top of develop branch'
163172

173+
# Ensure initial reaction job has completed before running this job:
174+
needs: [ add_initial_reaction ]
175+
164176
# Define the conditions under which the job should run:
165177
if: github.event.issue.pull_request && startsWith(github.event.comment.body, '/stdlib rebase')
166178

@@ -183,6 +195,9 @@ jobs:
183195
# Define the type of virtual host machine:
184196
runs-on: ubuntu-latest
185197

198+
# Ensure initial reaction job has completed before running this job:
199+
needs: [ add_initial_reaction ]
200+
186201
# Define the conditions under which the job should run:
187202
if: github.event.issue.pull_request && startsWith(github.event.comment.body, '/stdlib help')
188203

0 commit comments

Comments
 (0)