@@ -70,33 +70,33 @@ jobs:
7070 - name : Setup Scripts
7171 uses : ./actions/setup
7272 with :
73- destination : /opt /gh-aw/actions
73+ destination : ${{ runner.temp }} /gh-aw/actions
7474
7575 - name : Close expired discussions
7676 uses : actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8
7777 with :
7878 script : |
79- const { setupGlobals } = require('/opt /gh-aw/actions/setup_globals.cjs');
79+ const { setupGlobals } = require('${{ runner.temp }} /gh-aw/actions/setup_globals.cjs');
8080 setupGlobals(core, github, context, exec, io);
81- const { main } = require('/opt /gh-aw/actions/close_expired_discussions.cjs');
81+ const { main } = require('${{ runner.temp }} /gh-aw/actions/close_expired_discussions.cjs');
8282 await main();
8383
8484 - name : Close expired issues
8585 uses : actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8
8686 with :
8787 script : |
88- const { setupGlobals } = require('/opt /gh-aw/actions/setup_globals.cjs');
88+ const { setupGlobals } = require('${{ runner.temp }} /gh-aw/actions/setup_globals.cjs');
8989 setupGlobals(core, github, context, exec, io);
90- const { main } = require('/opt /gh-aw/actions/close_expired_issues.cjs');
90+ const { main } = require('${{ runner.temp }} /gh-aw/actions/close_expired_issues.cjs');
9191 await main();
9292
9393 - name : Close expired pull requests
9494 uses : actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8
9595 with :
9696 script : |
97- const { setupGlobals } = require('/opt /gh-aw/actions/setup_globals.cjs');
97+ const { setupGlobals } = require('${{ runner.temp }} /gh-aw/actions/setup_globals.cjs');
9898 setupGlobals(core, github, context, exec, io);
99- const { main } = require('/opt /gh-aw/actions/close_expired_pull_requests.cjs');
99+ const { main } = require('${{ runner.temp }} /gh-aw/actions/close_expired_pull_requests.cjs');
100100 await main();
101101
102102 run_operation :
@@ -115,16 +115,16 @@ jobs:
115115 - name : Setup Scripts
116116 uses : ./actions/setup
117117 with :
118- destination : /opt /gh-aw/actions
118+ destination : ${{ runner.temp }} /gh-aw/actions
119119
120120 - name : Check admin/maintainer permissions
121121 uses : actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8
122122 with :
123123 github-token : ${{ secrets.GITHUB_TOKEN }}
124124 script : |
125- const { setupGlobals } = require('/opt /gh-aw/actions/setup_globals.cjs');
125+ const { setupGlobals } = require('${{ runner.temp }} /gh-aw/actions/setup_globals.cjs');
126126 setupGlobals(core, github, context, exec, io);
127- const { main } = require('/opt /gh-aw/actions/check_team_member.cjs');
127+ const { main } = require('${{ runner.temp }} /gh-aw/actions/check_team_member.cjs');
128128 await main();
129129
130130 - name : Setup Go
@@ -145,9 +145,9 @@ jobs:
145145 with :
146146 github-token : ${{ secrets.GITHUB_TOKEN }}
147147 script : |
148- const { setupGlobals } = require('/opt /gh-aw/actions/setup_globals.cjs');
148+ const { setupGlobals } = require('${{ runner.temp }} /gh-aw/actions/setup_globals.cjs');
149149 setupGlobals(core, github, context, exec, io);
150- const { main } = require('/opt /gh-aw/actions/run_operation_update_upgrade.cjs');
150+ const { main } = require('${{ runner.temp }} /gh-aw/actions/run_operation_update_upgrade.cjs');
151151 await main();
152152
153153 compile-workflows :
@@ -179,15 +179,15 @@ jobs:
179179 - name : Setup Scripts
180180 uses : ./actions/setup
181181 with :
182- destination : /opt /gh-aw/actions
182+ destination : ${{ runner.temp }} /gh-aw/actions
183183
184184 - name : Check for out-of-sync workflows and create issue if needed
185185 uses : actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8
186186 with :
187187 script : |
188- const { setupGlobals } = require('/opt /gh-aw/actions/setup_globals.cjs');
188+ const { setupGlobals } = require('${{ runner.temp }} /gh-aw/actions/setup_globals.cjs');
189189 setupGlobals(core, github, context, exec, io);
190- const { main } = require('/opt /gh-aw/actions/check_workflow_recompile_needed.cjs');
190+ const { main } = require('${{ runner.temp }} /gh-aw/actions/check_workflow_recompile_needed.cjs');
191191 await main();
192192
193193 zizmor-scan :
@@ -235,7 +235,7 @@ jobs:
235235 - name : Setup Scripts
236236 uses : ./actions/setup
237237 with :
238- destination : /opt /gh-aw/actions
238+ destination : ${{ runner.temp }} /gh-aw/actions
239239
240240 - name : Validate Secrets
241241 uses : actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8
@@ -253,9 +253,9 @@ jobs:
253253 NOTION_API_TOKEN : ${{ secrets.NOTION_API_TOKEN }}
254254 with :
255255 script : |
256- const { setupGlobals } = require('/opt /gh-aw/actions/setup_globals.cjs');
256+ const { setupGlobals } = require('${{ runner.temp }} /gh-aw/actions/setup_globals.cjs');
257257 setupGlobals(core, github, context, exec, io);
258- const { main } = require('/opt /gh-aw/actions/validate_secrets.cjs');
258+ const { main } = require('${{ runner.temp }} /gh-aw/actions/validate_secrets.cjs');
259259 await main();
260260
261261 - name : Upload secret validation report
0 commit comments