-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
Do not automatically create pip-tools pull requests on forks of this repo #11738
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Currently, this GitHub Action runs on the forks of all contributors. Let's make sure that it is only run when the `github.repository_owner == readthedocs` https://docs.github.com/en/actions/writing-workflows/choosing-what-your-workflow-does/accessing-contextual-information-about-workflow-runs#github-context
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Isn't it possible to put the condition at job level instead? That way, the whole job is skipped on forks.
Yes. The first commit did that but the second commit took a more targeted approach. I will move the |
Is there a fix for the failing |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me
Nope, but no need to worry about it for now. |
Thanks! |
Currently, this GitHub Action creates new pull requests on the forks of all contributors. Let's make sure that the job only creates pull requests
https://docs.github.com/en/actions/writing-workflows/choosing-what-your-workflow-does/accessing-contextual-information-about-workflow-runs#github-context