Hi, I found that there might be a permission problem with secrets.GITHUB_TOKEN at line 24 in grading.yml. I followed the instructions carefully but could not let github-actions generate a new Issue.
The error I got was
Run githubtraining/[email protected]
with:
github-token: ***
feedback: {"reports":[{"filename":"","isCorrect":true,"display_type":"issues","level":"info","msg":"Great job!","error":{"expected":"","got":""}}]}
Error: HttpError: Resource not accessible by integration
I replaced secrets.GITHUB_TOKEN with secrets.EXERCISE_PAT and it worked. I tried another way by changing the Workflow permission in Settings-Actions-General of this repository to read and write permissions, and secrets.GITHUB_TOKEN also worked this time.