@@ -33,8 +33,8 @@ permissions:
3333 contents : write
3434
3535jobs :
36- basic-commit :
37- name : Basic commit and push to new branch
36+ preflight :
37+ name : Validate workflow inputs
3838 runs-on : ubuntu-latest
3939 steps :
4040 - name : Validate mode input
4747 ;;
4848 esac
4949
50+ basic-commit :
51+ name : Basic commit and push to new branch
52+ needs : [preflight]
53+ runs-on : ubuntu-latest
54+ steps :
5055 - name : Checkout repository
5156 uses : actions/checkout@v6
5257 with :
8893
8994 commit-with-prefix-message :
9095 name : Commit with custom prefix and message
96+ needs : [preflight]
9197 runs-on : ubuntu-latest
9298 steps :
9399 - name : Checkout repository
@@ -132,6 +138,7 @@ jobs:
132138
133139 allow-empty-commit :
134140 name : Allow empty commit with no file changes
141+ needs : [preflight]
135142 runs-on : ubuntu-latest
136143 steps :
137144 - name : Checkout repository
@@ -171,6 +178,7 @@ jobs:
171178
172179 commit-with-timestamp-branch :
173180 name : Commit to timestamped branch name
181+ needs : [preflight]
174182 runs-on : ubuntu-latest
175183 steps :
176184 - name : Checkout repository
@@ -218,6 +226,7 @@ jobs:
218226
219227 commit-with-repository-path :
220228 name : Commit from custom repository_path
229+ needs : [preflight]
221230 runs-on : ubuntu-latest
222231 steps :
223232 - name : Checkout repository into custom path
@@ -264,6 +273,7 @@ jobs:
264273
265274 reset-target-branch-to-base :
266275 name : Reset target branch to base branch
276+ needs : [preflight]
267277 runs-on : ubuntu-latest
268278 steps :
269279 - name : Checkout repository
@@ -331,6 +341,7 @@ jobs:
331341
332342 rebase-conflict-fails-when-strict :
333343 name : Rebase conflict fails when fail_on_rebase_conflict=true
344+ needs : [preflight]
334345 runs-on : ubuntu-latest
335346 steps :
336347 - name : Checkout repository
@@ -398,6 +409,7 @@ jobs:
398409
399410 amend-commit :
400411 name : Amend previous commit with force-with-lease
412+ needs : [preflight]
401413 runs-on : ubuntu-latest
402414 steps :
403415 - name : Checkout repository
0 commit comments