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: remove branch filters from push trigger #1987

Merged
merged 1 commit into from
Oct 16, 2023

Conversation

wpbonelli
Copy link
Member

@wpbonelli wpbonelli commented Oct 15, 2023

Always run commit-triggered workflows (commit.yml, rtd.yml, mf6.yml) on push.

This was suggested recently by @spaulins-usgs. CI testing work on a personal fork before opening a PR avoids consuming the upstream org's actions quota. To do this currently requires adding the branch name to the workflow's on.push.branches, then removing it before the PR is merged. This is inconvenient and easily neglected.

It seems safe to assume contributors generally want CI to run on their fork. To exclude a branch, branches-ignore can be used if needed.

Existing branch filters are still kept for PR triggers.

@codecov
Copy link

codecov bot commented Oct 15, 2023

Codecov Report

Merging #1987 (a226292) into develop (04da63a) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           develop   #1987   +/-   ##
=======================================
  Coverage     72.7%   72.7%           
=======================================
  Files          258     258           
  Lines        58829   58829           
=======================================
  Hits         42788   42788           
  Misses       16041   16041           

Copy link
Contributor

@spaulins-usgs spaulins-usgs left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good.

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

Successfully merging this pull request may close these issues.

3 participants