Skip to content

ci: remove branch filters from push trigger#1987

Merged
wpbonelli merged 1 commit into
modflowpy:developfrom
wpbonelli:ci-triggers
Oct 16, 2023
Merged

ci: remove branch filters from push trigger#1987
wpbonelli merged 1 commit into
modflowpy:developfrom
wpbonelli:ci-triggers

Conversation

@wpbonelli
Copy link
Copy Markdown
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
Copy Markdown

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
Copy Markdown
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