github-advanced-security[bot] commented on code in PR #40780:
URL: https://github.com/apache/superset/pull/40780#discussion_r3358562494
##########
.github/workflows/superset-e2e.yml:
##########
@@ -277,3 +277,44 @@
${{ github.workspace }}/superset-frontend/playwright-results/
${{ github.workspace }}/superset-frontend/test-results/
name: playwright-artifact-${{ github.run_id }}-${{ github.job }}-${{
matrix.browser }}--${{ steps.set-safe-app-root.outputs.safe_app_root }}
+
+ # Stable required-status-check anchors. cypress-matrix and playwright-tests
+ # are matrix jobs gated on change detection (python || frontend). On a PR
+ # that touches neither — e.g. a docs-only PR — they are skipped at the job
+ # level, which happens before matrix expansion, so the per-combination
+ # contexts (`cypress-matrix (0, chrome)`, `playwright-tests (chromium)`) are
+ # never produced and branch protection waits on them forever. These
+ # always-running jobs report a single stable context that passes when the
+ # underlying matrix job succeeded or was skipped, and fails only on a real
+ # failure. Require these in .asf.yaml instead of the matrix-expanded names.
+ cypress-matrix-required:
+ needs: [changes, cypress-matrix]
+ if: always()
+ runs-on: ubuntu-24.04
+ timeout-minutes: 5
+ steps:
+ - name: Check cypress-matrix result
+ env:
+ RESULT: ${{ needs.cypress-matrix.result }}
+ run: |
+ if [ "$RESULT" != "success" ] && [ "$RESULT" != "skipped" ]; then
+ echo "cypress-matrix did not pass (result: $RESULT)"
+ exit 1
+ fi
+ echo "cypress-matrix result: $RESULT"
Review Comment:
## zizmor /
overly broad permissions: default permissions used due to no permissions:
block
[Show more
details](https://github.com/apache/superset/security/code-scanning/2532)
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]