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.
2 parents bf15c41 + 86f03c3 commit ffd9a42Copy full SHA for ffd9a42
1 file changed
.github/workflows/main.yml
@@ -232,6 +232,7 @@ jobs:
232
if: ${{ always() }}
233
needs:
234
- detect-changes
235
+ - check-skip-merge-queue
236
- check-workflows
237
- analyse-code
238
- lint-build-test
@@ -261,8 +262,10 @@ jobs:
261
262
fi
263
264
# check-workflows runs for both CI and code changes; require it when either is present
265
+ # It is intentionally skipped when the merge queue decides to skip (PR already up-to-date)
266
if [[ "$HAS_CI" == "true" || "$HAS_CODE" == "true" ]]; then
- if [[ "${{ needs.check-workflows.result }}" != "success" ]]; then
267
+ if [[ "${{ needs.check-skip-merge-queue.outputs.skip-merge-queue }}" != "true" \
268
+ && "${{ needs.check-workflows.result }}" != "success" ]]; then
269
echo "check-workflows did not succeed"
270
exit 1
271
0 commit comments