Limit the Number of Testing Runs in GH Actions#743
Merged
Conversation
This reverts commit 62f7cbc.
johnjasa
approved these changes
May 11, 2026
johnjasa
left a comment
Collaborator
There was a problem hiding this comment.
Thanks Rob! Way to knock out the low-hanging fruit first.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Create More Sustainable Actions Usage Through Limiting Testing Runs
This PR aims to address the lowest hanging fruit in #742 by limiting when the CI testing is run in a pull request to:
Section 1: Type of Contribution
Section 2: Draft PR Checklist
TODO:
Type of Reviewer Feedback Requested (on Draft PR)
Structural feedback:
Implementation feedback:
Other feedback:
Section 3: General PR Checklist
docs/files are up-to-date, or added when necessaryCHANGELOG.md"A complete thought. [PR XYZ]((https://github.com/NatLabRockies/H2Integrate/pull/XYZ)", where
XYZshould be replaced with the actual number.Section 4: Related Issues
Lowest hanging fruit of #742, but should make a useful reduction in runner usage.
Section 5: Impacted Areas of the Software
Modified Files
.githu/workflows/ci.yml: Modifies the PR conditions under which the tests will be run. Otherwise, they should be run manually or locally.Section 6: Additional Supporting Information
For more details on CI changes, please visit the GitHub documentation for the
onevent type (https://docs.github.com/en/actions/reference/workflows-and-actions/workflow-syntax#onevent_nametypes),pull_requestevent type (https://docs.github.com/en/actions/reference/workflows-and-actions/events-that-trigger-workflows#pull_request), and explanations of the pull requests statuses (https://docs.github.com/en/webhooks/webhook-events-and-payloads?actionType=review_requested#pull_request).Section 7: Test Results, if applicable
No code changes, N/A