Commit 203d3df
committed
Fix auto-comment workflow - use proper JavaScript syntax
Issue: Workflow was using GitHub Actions template syntax inside JavaScript code
Fix: Use JavaScript variables and template literals to access context data
- Use context.payload.issue.user.login for issues
- Use context.payload.pull_request.user.login for PRs
- Use template literals (`${}`) instead of GitHub Actions ${{}}
- Add await keyword for async operations
- Add semicolons for proper JavaScript syntax
The workflow will now properly comment on issues and PRs.1 parent d2fced2 commit 203d3df
1 file changed
+8
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
26 | | - | |
| 26 | + | |
| 27 | + | |
27 | 28 | | |
28 | 29 | | |
29 | 30 | | |
30 | | - | |
31 | | - | |
| 31 | + | |
| 32 | + | |
32 | 33 | | |
33 | 34 | | |
34 | 35 | | |
35 | 36 | | |
36 | 37 | | |
37 | 38 | | |
38 | 39 | | |
39 | | - | |
| 40 | + | |
| 41 | + | |
40 | 42 | | |
41 | 43 | | |
42 | 44 | | |
43 | | - | |
44 | | - | |
| 45 | + | |
| 46 | + | |
0 commit comments