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

Avoid redundant CI runs #279

Merged
merged 1 commit into from
Oct 9, 2023
Merged

Avoid redundant CI runs #279

merged 1 commit into from
Oct 9, 2023

Conversation

tevador
Copy link
Owner

@tevador tevador commented Oct 9, 2023

Currently, CI jobs run twice for every push to a branch that has an open pull request.

This should limit CI runs only to pushes to master or PR opened against master.

@tevador tevador requested a review from SChernykh October 9, 2023 17:16
@SChernykh
Copy link
Collaborator

SChernykh commented Oct 9, 2023

on:
  push:
    branches: [ master ]
  pull_request:

Should be better, it will allow CI on pull requests to other branches.

Found it here: jelhan/create-github-actions-setup-for-ember-addon#7

@tevador tevador merged commit fa7c043 into master Oct 9, 2023
21 checks passed
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.

2 participants