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

Don't do GitHub CI "push" runs on non-default branches #185

Merged
merged 2 commits into from
Nov 9, 2023
Merged

Conversation

jwodder
Copy link
Member

@jwodder jwodder commented Nov 9, 2023

The "Test fetching tinuous' logs" workflow is currently failing because it ran so much that we exceeded some rate limit. This can be addressed by not running the workflow on pushes to non-default branches. Note that it will still run on pushes to PR branches, as that's a separate trigger; we're currently running all tests twice on PRs, with the only difference being that the PR triggers are run on the code as it would be after merging.

I also applied the same change to the normal test workflow for similar reasons.

Note that I included [skip ci] in the commit message for this PR, so there will be no workflow runs, as I'm trying not to waste rate limits.

EDIT: I have also configured the workflows so that, if a push is made to branch while an older workflow is still running on the branch, the older workflow is cancelled.

@jwodder jwodder added the internal Changes only affect the internal API label Nov 9, 2023
@jwodder jwodder merged commit 1e79d32 into master Nov 9, 2023
@jwodder jwodder deleted the limit-ci branch November 9, 2023 17:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
internal Changes only affect the internal API
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant