#52667 closed task (blessed) (fixed)
Use path detection to limit when GitHub Action workflows run
Reported by: |
|
Owned by: |
|
---|---|---|---|
Milestone: | 5.8 | Priority: | normal |
Severity: | normal | Version: | |
Component: | Build/Test Tools | Keywords: | has-patch fixed-major |
Focuses: | Cc: |
Description
Some test workflows only examine a specific part of the codebase. When that area is not changed, the workflow is not required to run.
One example is the PHP compatibility testing workflow. If A PHP file is not changed, this doesn't need to run.
Change History (29)
#1
@
4 years ago
- Summary changed from Uses path detection to limit when GitHub Action workflows run to Use path detection to limit when GitHub Action workflows run
This ticket was mentioned in PR #1053 on WordPress/wordpress-develop by desrosj.
4 years ago
#2
4 years ago
#3
Is it possible to make these changes for pull requests only? It would be good to have everything run on commits to WP Core just in case these are misconfigured or become out of date.
I was also toying with this. Let's commit this scoped only for PRs for now and see how it goes. If we find it's reliable, we can consider including it for push
events.
If we make that change, though, we'll be able to remove the version.php
path. That was only there as a way to ensure all workflows run when a version bump commit is made.
#6
@
4 years ago
- Keywords fixed-major added
- Resolution fixed deleted
- Status changed from closed to reopened
Reopening to backport to older branches.
Trac ticket: https://core.trac.wordpress.org/ticket/52667