Open razb-viola opened 3 months ago
It seems the permissions field overrides already granted permissions; here is the fix:
permissions:
contents: read
pull-requests: read
Thanks for this GHA, it's amazing. I'm still getting the issue when I try your fix above. I assume what you're saying is if we don't have the permissions field at all then it just inherits whatever is in the over arching github repo settings?
nvm, I'm an idiot and hit a slightly different problem, solved here: https://github.com/dorny/paths-filter/issues/212#issuecomment-1960976719
I get this error:
And this is the workflow yaml:
and the step of dorny gets the error mentioned above - without reaching to the step of running the service later in the yaml, that's why I didn't provide it here.
I tried both checkout@v4 and v3. I gave permissions of pull request read, as follow: