[CI] Support pathspec negation to sync issue-release-workflow.yml - #592
Open
Navaneeth Shanmugasundaram (navaneethshan) wants to merge 2 commits into
Open
Conversation
Enable selective syncing of specific .github workflow files from upstream while ignoring others. Changes: - Modified automerge.py to support '!' negation patterns in pathspec file - Added parse_pathspec_file() to parse ignore and keep patterns separately - Updated cpullvm_modified_files to sync issue-release-workflow.yml from upstream - All other .github/* files remain ignored (Qualcomm versions preserved) This allows us to keep issue-release-workflow.yml in sync with upstream LLVM while protecting our custom workflows like nightly.yml, linux-premerge.yml, etc. Signed-off-by: nshanmug <nshanmug@qti.qualcomm.com>
Contributor
|
Will take a closer look later but two high-level/initial thoughts:
|
Contributor
Again this isn't really related to this PR itself, but turns out we have some stuff to fix re: handling conflicts, see #629 |
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.
Enable selective syncing of specific .github workflow files from upstream while ignoring others.
Changes:
This allows us to keep issue-release-workflow.yml in sync with upstream LLVM while protecting our custom workflows like nightly.yml, linux-premerge.yml, etc.
Signed-off-by: nshanmug nshanmug@qti.qualcomm.com