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: set GitHub Actions on.push.branches-ignore #1307

Merged
merged 2 commits into from
Dec 9, 2020

Conversation

AirQuick
Copy link
Member

@AirQuick AirQuick commented Dec 7, 2020

Set on.push.branches-ignore in lint.yml and test.yml in .github/workflows/ in order to eliminate some duplicated runs.

This change will effectively

  • exclude dependabot/** branches from push event. That should be fine, because those branches are always connected to pull requests which are then tested in pull_request event.
  • exclude tags from push event. That should be fine, because the same commit is tested as a branch.

@AirQuick AirQuick added the test label Dec 7, 2020
@AirQuick AirQuick added this to the v2.1 milestone Dec 7, 2020
@AirQuick AirQuick merged commit 2aebea0 into xspec:master Dec 9, 2020
@AirQuick AirQuick deleted the gha-on-push-branches-ignore branch December 9, 2020 15:26
@AirQuick
Copy link
Member Author

Lint and Test workflows worked fine in this pull request.

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

Successfully merging this pull request may close these issues.

None yet

1 participant