ci: grant PR write permissions for actions-comment-pull-request action#152
ci: grant PR write permissions for actions-comment-pull-request action#152
Conversation
a28413c to
199ccef
Compare
|
Hmm now it's not running CI at all? |
Yeah, something is off with my change. The I'll look into it. |
We started seeing the error of the pr workflow [^1]:
Run thollander/actions-comment-pull-request@v2
No comment has been found with asked pattern. Creating a new comment.
Error: Resource not accessible by integration
According to the thollander/actions-comment-pull-request action's
README[^2] we need to add pull-requestes: write permissions to the
workflow.
Do that and also update the action to v3 while at it.
[^1]: #151 (comment)
[^2]: https://github.com/thollander/actions-comment-pull-request/blob/e4a76dd2b0a3c2027c3fd84147a67c22ee4c90fa/README.md?plain=1#L172-L181
Signed-off-by: Tobias Klauser <tobias@cilium.io>
8c847d1 to
c1ade48
Compare
|
Looks like there were some non-breaking spaces in the change. Should now be fixed. However, the workflow on this PR will still use the workflow file from |
|
Nevermind, looks like @joamaki ok to merge? |
We started seeing the error of the pr workflow 1:
According to the thollander/actions-comment-pull-request action's README2 we need to add pull-requestes: write permissions to the workflow.
Do that and also update the action to v3 while at it.
Footnotes
https://github.com/cilium/statedb/pull/151#issuecomment-4046941923 ↩
https://github.com/thollander/actions-comment-pull-request/blob/e4a76dd2b0a3c2027c3fd84147a67c22ee4c90fa/README.md?plain=1#L172-L181 ↩