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

[CI] Don't trigger GHA pull_request on PRs from local branches #10636

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

straight-shoota
Copy link
Member

@straight-shoota straight-shoota commented Apr 14, 2021

See #9890 (comment)

There is a workaround suggested by piersy in the thread you linked: https://github.community/t/how-to-trigger-an-action-on-push-or-pull-request-but-not-both/16662/10

Resolves #9890

@straight-shoota
Copy link
Member Author

This seems to be working as intended (despite #9890 (comment)). Only jobs triggerd from the push are running.

@Sija
Copy link
Contributor

Sija commented Apr 15, 2021

@straight-shoota That solution wasn't working for me.

@straight-shoota
Copy link
Member Author

Yeah, maybe there was some confusion because the configuration changed after the PR was created. Or some other glitch. I mean this configuration shouldn't really disable all jobs.
That's why I figured to try again.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants