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

Only run applicable GHA workflows on PRs #2697

Merged
merged 7 commits into from
Jan 31, 2024

Conversation

sanderploegsma
Copy link
Contributor

@sanderploegsma sanderploegsma commented Jan 31, 2024

This updates the GitHub Actions workflows to only run on PRs when required.

  • The jobs related to Java changes don't run unless a Java or Gradle file was changed
  • The jobs related to Markdown changes don't run unless a Markdown file was changed

See the test commits I pushed to check that only the necessary workflows were triggered for that commit.


Reviewer Resources:

Track Policies

@sanderploegsma sanderploegsma self-assigned this Jan 31, 2024
@sanderploegsma sanderploegsma marked this pull request as ready for review January 31, 2024 08:41
@manumafe98
Copy link
Contributor

LGTM!

@sanderploegsma sanderploegsma merged commit cde57b5 into main Jan 31, 2024
1 check passed
@sanderploegsma sanderploegsma deleted the ci-run-actions-when-necessary branch January 31, 2024 12:39
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