Repository navigation
Fix core_entities_ci self path filter (.yml -> .yaml) - #2300
Open
MarkAlex1234 wants to merge 2 commits into
Open
MarkAlex1234 wants to merge 2 commits into
MarkAlex1234 wants to merge 2 commits into
Conversation
core_entities_ci.yaml listed .github/workflows/core_entities_ci.yml under pull_request.paths, a file that doesn't exist, so edits to the workflow itself didn't trigger it.
Warns on PRs when a workflow's on.paths list references deleted workflow files or misses packages a pipeline depends on. Warning only; never fails the build.
This branch had an error being deployed
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.
Description of the changes
Commit 1 (the fix).
.github/workflows/core_entities_ci.yamllists.github/workflows/core_entities_ci.yml(with a.ymlextension) underpull_request.paths. That file doesn't exist, so a PR that only edits this workflow doesn't run it. The change is never exercised before merge. This points the filter at the real file. One line.Commit 2 (optional). This adds
.github/workflows/path-filter-audit.yml, a smallpull_requestjob that warns when a workflow'spaths:list references a deleted or renamed workflow file, a directory without/**, or misses a local package a pipeline depends on (it reads uv/Poetry path sources). Onmaintoday it reports exactly this one finding; with commit 1, none. It only annotates and never fails the build; drop the commit if you'd rather not add a workflow.Disclosure: the audit is a GitHub Action I maintain, dynamic-monorepo. It also runs in rajadilipkolli/spring-boot-microservices-series-v2.
Fixes / Resolves the following issues:
Checklist:
bugwould fit.