Commit 159a88a
Fix cross-repo workflow_call integrity check: use github.workflow_ref instead of GITHUB_WORKFLOW_REF (#24200)
* Initial plan
* fix: use github.workflow_ref context to fix remote workflow_call integrity check
For cross-repo workflow_call invocations, GITHUB_WORKFLOW_REF env var points to
the top-level caller's workflow, not the reusable (callee) workflow. This caused
check_workflow_timestamp_api.cjs to look for lock files in the wrong repository.
The fix injects GH_AW_CONTEXT_WORKFLOW_REF from ${{ github.workflow_ref }} which
correctly identifies the current reusable workflow even in cross-repo scenarios.
Closes #23935
Agent-Logs-Url: https://github.com/github/gh-aw/sessions/536ff9ae-a2dc-4523-923d-77dc878c16ca
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
* test: add same-repo scenario tests for GH_AW_CONTEXT_WORKFLOW_REF coverage
Agent-Logs-Url: https://github.com/github/gh-aw/sessions/7e532aa5-50a0-41e2-9fa9-00407921a08e
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
* fix: align CJS error messages with main branch to fix CI test failures
Agent-Logs-Url: https://github.com/github/gh-aw/sessions/f49e39ad-fc0f-44fc-a75c-4c451342b736
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
* merge: merge main and recompile all lock files
Agent-Logs-Url: https://github.com/github/gh-aw/sessions/97c9cdb2-7e8e-4562-a922-8158e8054ccf
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
* fix: rename 'Check workflow file timestamps' step to 'Check workflow lock file'
Agent-Logs-Url: https://github.com/github/gh-aw/sessions/aebf385c-f9e8-40e7-a40b-bb37f5e548fd
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
---------
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Co-authored-by: Peli de Halleux <pelikhan@users.noreply.github.com>1 parent 90fd1ca commit 159a88a
201 files changed
Lines changed: 541 additions & 212 deletions
File tree
- .github/workflows
- actions/setup/js
- pkg
- cli
- workflows
- workflow
- testdata
- TestWasmGolden_CompileFixtures
- wasm_golden/WasmBinary
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
0 commit comments