Skip to content

ci: update ignore_pull_requests to only include release-able branches #16703

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

Merged
merged 1 commit into from
Jan 21, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 8 additions & 7 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,12 +25,13 @@ var_3: &default_nodeversion "12.9"
# https://circleci.com/docs/2.0/workflows/#using-workspaces-to-share-data-among-jobs
# https://circleci.com/blog/deep-diving-into-circleci-workspaces/
var_4: &workspace_location .
# Filter to ignore pull requests on a given job.
var_5: &ignore_pull_requests
# Filter to only release branches on a given job.
var_5: &only_release_branches
filters:
branches:
ignore:
- /pull\/.*/
only:
- master
- /\d+\.\d+\.x/

# Executor Definitions
# https://circleci.com/docs/2.0/reusing-config/#authoring-reusable-executors
Expand Down Expand Up @@ -404,7 +405,7 @@ workflows:
- /renovate\/.+/
- master
- e2e-cli-node-10:
<<: *ignore_pull_requests
<<: *only_release_branches
requires:
- e2e-cli
- test-browsers:
Expand All @@ -428,14 +429,14 @@ workflows:
- setup-and-build-win
- test
- e2e-cli-win:
<<: *ignore_pull_requests
<<: *only_release_branches
requires:
- setup-and-build-win
- e2e-cli

# Publish jobs
- snapshot_publish:
<<: *ignore_pull_requests
<<: *only_release_branches
requires:
- test
- build
Expand Down