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

Ignore PR job on master branch #10702

Merged
merged 1 commit into from Nov 13, 2019

Conversation

jbhoosreddy
Copy link
Contributor

Q                       A
Fixed Issues? Relates to #4987
Patch: Bug Fix?
Major: Breaking Change?
Minor: New Feature?
Tests Added + Pass? Yes
Documentation PR Link
Any Dependency Changes?
License MIT

Followup to #10579. If we look at a commit which landed after, like 1d1101e, you can see that even though it's passing all checks the PR check is failing since the PR job is not approved to run.

This will incorrectly show all jobs as pending, which is noisy.

This PR aims at fixing this issue. Thanks to @nicolo-ribaudo for pointing it out!

@jbhoosreddy
Copy link
Contributor Author

These are the docs I used to implement this: https://circleci.com/docs/2.0/configuration-reference/#filters-1

The only issue here is that there is not way for me to properly test this unless it's on master.

@nicolo-ribaudo
Copy link
Member

The only issue here is that there is not way for me to properly test this unless it's on master.

I'll merge this PR since it's minimal; let's see if it works.

@nicolo-ribaudo nicolo-ribaudo merged commit 433b6ba into babel:master Nov 13, 2019
@jbhoosreddy jbhoosreddy deleted the ignore-pr-job-on-master branch November 13, 2019 20:43
@lock lock bot added the outdated A closed issue/PR that is archived due to age. Recommended to make a new issue label Feb 12, 2020
@lock lock bot locked as resolved and limited conversation to collaborators Feb 12, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
outdated A closed issue/PR that is archived due to age. Recommended to make a new issue
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants