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/looking-glass-action@v1.0.0
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.
Hi, I found that there might be a permission problem with
secrets.GITHUB_TOKENat line 24 ingrading.yml. I followed the instructions carefully but could not letgithub-actionsgenerate a new Issue.The error I got was
I replaced
secrets.GITHUB_TOKENwithsecrets.EXERCISE_PATand it worked. I tried another way by changing the Workflow permission inSettings-Actions-Generalof this repository to read and write permissions, andsecrets.GITHUB_TOKENalso worked this time.