-
Notifications
You must be signed in to change notification settings - Fork 296
Replace hardcoded /opt/gh-aw/ paths with GH_AW_HOME env var for self-hosted runner portability
#20143
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Closed
+14,485
−13,217
Closed
Replace hardcoded /opt/gh-aw/ paths with GH_AW_HOME env var for self-hosted runner portability
#20143
Changes from 5 commits
Commits
Show all changes
12 commits
Select commit
Hold shift + click to select a range
eae24ca
Initial plan
Copilot e304842
feat: portable GH_AW_HOME for self-hosted runner support
Copilot d3ad8f2
feat: replace hardcoded /opt/gh-aw/ paths with GH_AW_HOME env var for…
Copilot de37c65
fix: remove destination: input from setup step to fix GH_AW_HOME lite…
Copilot 555d5c7
fix: use process.env.GH_AW_HOME in require() calls in safe-outputs an…
Copilot e28ccf4
fix: address review comments - fix maintenance_workflow.go require() …
Copilot 875da77
fix: use ${{ env.GH_AW_HOME }} in YAML env: blocks for safe outputs p…
Copilot a62bde3
Add changeset [skip-ci]
github-actions[bot] ba68404
fix: use ${{ env.GH_AW_HOME }} in safe-jobs artifact download path
Copilot 5296c16
Add changeset [skip-ci]
github-actions[bot] f14347f
feat: merge main and fix safe_outputs job to ignore known custom safe…
Copilot 51cab26
fix: use try-first approach for mkdir in setup.sh (fix from PR #20399)
Copilot File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This workflow file contains literal
JsRequireGhAw(...)fragments inside the JavaScriptrequire()calls, which will make the workflow fail at runtime. It looks like pkg/workflow/maintenance_workflow.go is emitting un-interpolated Go expressions; once that generator is fixed, please recompile/regenerate this workflow so therequire()calls resolve toprocess.env.GH_AW_HOME + '/actions/…'.See below for a potential fix: