Closed Ecco closed 4 years ago
Unfortunately, It looks like this is expected behaviour, as secrets are not available to the actions that run on forked PRs. Even in the pull_request.close
event, secrets are not available...
It's very annoying as I want to post a comment on a forked pull-request once it's merged... anyone have any work-arounds?
Well, that's a major limitation of GitHub actions. Actually they're close to being useless.
Here's the details:
Long story short: GitHub's limitation. No workaround possible.
Links:
Pleas see this comprehensive description I wrote on GitHub Community that explains the whole problem. Feel free to upvote it to raise awareness 😄
@aaronklaassen I suggest documenting this limitation.
comment-on-pr
on repositoryfoo/bar
(Repo namedbar
of userfoo
)john
, forkfoo/bar
intojohn/bar
john
, submit a PR to projectfoo/bar