Open lindseysimple opened 2 years ago
Same issue here. Were you able to solve it?
Adding the persmissions on workflow level solved the issue for me:
permissions:
checks: write
contents: write
issues: write
pull-requests: write
NB Always use least privilege. Don't give any tasks/jobs/people any more permissions than they need.
You should just be able to use:
permissions:
checks: write
contents: read
pull-requests: read
Define the
action-eslint
action in a callee reusable workflow as below:Will get the following error on the caller workflow:
If not using the reusable workflow, it works on the repository which triggers the github action.