Open Karim-53 opened 1 year ago
I'm getting a similar error on https://github.com/PlasmaPy/PlasmaPy/pull/2220, which includes:
Error: Option '--token' requires an argument.
I made a pull request from a fork, and set up SOURCERY_TOKEN
on the primary repo. I'll try to post here or on that PR if I figure out what the issue is. (I might try setting the token on my fork as well.)
Hi
the secret token is not passed to PR based on forks
this is because
Secrets are not passed to workflows that are triggered by a pull request from a fork. [Learn more about encrypted secrets](https://docs.github.com/actions/automating-your-workflow-with-github-actions/creating-and-using-encrypted-secrets).
I tried
on: pull_request_target
but it does not work... https://github.com/Karim-53/Compare-xAI/blob/main/.github/workflows/sourcery.ymlhttps://github.com/Karim-53/Compare-xAI/actions/runs/3742105178
plz help