Skip to content
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

require-pr-label.yml should not be executed on forks #114790

Closed
sobolevn opened this issue Jan 31, 2024 · 0 comments
Closed

require-pr-label.yml should not be executed on forks #114790

sobolevn opened this issue Jan 31, 2024 · 0 comments
Assignees

Comments

@sobolevn
Copy link
Member

sobolevn commented Jan 31, 2024

It does not make much sense to execute it on forks, because it is a workflow specific for python/cpython only.

Here's an example PR on my own fork:

Снимок экрана 2024-01-31 в 11 58 56

I think that it does make sense to add if: github.repository == 'python/cpython' to it, so it can be safely skipped on forks.

Linked PRs

@sobolevn sobolevn self-assigned this Jan 31, 2024
sobolevn added a commit to sobolevn/cpython that referenced this issue Jan 31, 2024
hugovk added a commit that referenced this issue Jan 31, 2024
…114791)

Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
miss-islington pushed a commit to miss-islington/cpython that referenced this issue Jan 31, 2024
…orks (pythonGH-114791)

(cherry picked from commit 1c2ea8b)

Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
miss-islington pushed a commit to miss-islington/cpython that referenced this issue Jan 31, 2024
…orks (pythonGH-114791)

(cherry picked from commit 1c2ea8b)

Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
hugovk added a commit that referenced this issue Jan 31, 2024
…forks (GH-114791) (#114800)

Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
hugovk added a commit that referenced this issue Jan 31, 2024
…forks (GH-114791) (#114801)

Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
@hugovk hugovk closed this as completed Jan 31, 2024
aisk pushed a commit to aisk/cpython that referenced this issue Feb 11, 2024
…orks (python#114791)

Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants