We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1ff0394 commit 3158a4fCopy full SHA for 3158a4f
1 file changed
.github/workflows/agent.yml
@@ -29,7 +29,9 @@ jobs:
29
env:
30
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
31
GEMINI_API_KEY: ${{ secrets.GEMINI_API_KEY }}
32
+ EVENT_JSON: ${{ toJson(github.event) }}
33
run: |
- node -e "
34
- import('./index.js').then(m => m.run(${{ toJson(github.event) }}))
35
- "
+ node -e '
+ const event = JSON.parse(process.env.EVENT_JSON);
36
+ import("./index.js").then(m => m.run(event));
37
+ '
0 commit comments