File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 4444 fi
4545
4646 check-merge-state :
47- needs : check-file-changes
48- if : needs.check-file-changes.outputs.should_run == 'true'
47+ if : github.event.review.state == 'approved'
4948 runs-on : ubuntu-latest
5049 env :
5150 PR_NUMBER : ${{ github.event.pull_request.number }}
@@ -128,8 +127,8 @@ jobs:
128127 echo "Auto-merge enabled successfully!"
129128
130129 dispatch-to-internal :
131- needs : check-merge-state
132- if : needs.check-merge-state.outputs.checks_passed == 'true' && github.event.review.state == 'approved'
130+ needs : [ check-file-changes, check- merge-state]
131+ if : needs.check-merge-state.outputs.checks_passed == 'true' && needs.check-file-changes.outputs.should_run == 'true' && github.event.review.state == 'approved'
133132 runs-on : ubuntu-latest
134133 env :
135134 SOURCE_REPO : github/github-well-architected
You can’t perform that action at this time.
0 commit comments