Actions/checkout@v3 can't authenticate on: pull_request #26658
-
I’m working on a pipeline that will perform some checks on the source code before auto-approving a merge request. However, I’m having issues checking out the source code. I tried the pull_request and pull_request_target events. My pipeline looks like this:
Error:
On a regular pipeline I can check out the code all fine using:
Any ideas appreciated. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
KbLev:
Here’s your problem. Without read access to |
Beta Was this translation helpful? Give feedback.
-
Thank you. Adding
Workflow syntax for GitHub Actions - GitHub DocsA workflow is a configurable automated process made up of one or more jobs. You must create a YAML file to define your workflow configuration. |
Beta Was this translation helpful? Give feedback.
Here’s your problem. Without read access to
contents
the job can’t access the repository contents.