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

chore: don't kick off github actions jobs for unchanged nested Bazel modules #348

Merged
merged 1 commit into from
Aug 30, 2024

Conversation

alexeagle
Copy link
Member

@alexeagle alexeagle commented Aug 29, 2024

Saves us some GitHub Actions resource limit exhaustion, especially since we'll recommend that users send PRs here to play with Marvin.

It avoids them getting spammed with a dozen irrelevant github statuses here as well. This was a problem when I gave a demo today: had to scroll down to find the Aspect Workflows status.

Note: this affects lands to main as well. That means a nested module may be red at HEAD, but subsequent test runs don't re-test it and go back to green again. In a real user repository this would probably not be desirable behavior.


Changes are visible to end-users: no

Test plan

  • Manual testing; please provide instructions so we can reproduce:
    Try changing some files in this PR and see what matrix jobs run

@alexeagle alexeagle requested a review from gregmagolan August 29, 2024 23:35
Copy link
Contributor

aspect-workflows bot commented Aug 29, 2024

Test

All tests were cache hits

22 tests (100.0%) were fully cached saving 5s.


Lint

@alexeagle alexeagle force-pushed the skipci branch 28 times, most recently from d34d42d to f90a0f3 Compare August 30, 2024 01:00
@alexeagle alexeagle force-pushed the skipci branch 4 times, most recently from 4515a94 to 74ad5a8 Compare August 30, 2024 01:10
@alexeagle alexeagle requested a review from kylecordes August 30, 2024 01:10
@alexeagle alexeagle marked this pull request as ready for review August 30, 2024 01:10
@alexeagle alexeagle changed the title chore: don't kick off github actions jobs for unchanged top-level dirs chore: don't kick off github actions jobs for unchanged nested Bazel modules Aug 30, 2024
@alexeagle alexeagle requested a review from kormide August 30, 2024 01:12
@alexeagle alexeagle merged commit a48216d into main Aug 30, 2024
6 checks passed
@alexeagle alexeagle deleted the skipci branch August 30, 2024 14:03
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