Skip to content

Commit 3158a4f

Browse files
authored
Edited agent.yml
1 parent 1ff0394 commit 3158a4f

1 file changed

Lines changed: 5 additions & 3 deletions

File tree

.github/workflows/agent.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,9 @@ jobs:
2929
env:
3030
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
3131
GEMINI_API_KEY: ${{ secrets.GEMINI_API_KEY }}
32+
EVENT_JSON: ${{ toJson(github.event) }}
3233
run: |
33-
node -e "
34-
import('./index.js').then(m => m.run(${{ toJson(github.event) }}))
35-
"
34+
node -e '
35+
const event = JSON.parse(process.env.EVENT_JSON);
36+
import("./index.js").then(m => m.run(event));
37+
'

0 commit comments

Comments
 (0)