Skip to content

filter rpm ci to src changes#546

Merged
markcmiller86 merged 2 commits into4.12RCfrom
task-mcm86-22apr26-skip-ci-doc
Apr 23, 2026
Merged

filter rpm ci to src changes#546
markcmiller86 merged 2 commits into4.12RCfrom
task-mcm86-22apr26-skip-ci-doc

Conversation

@markcmiller86
Copy link
Copy Markdown
Member

@markcmiller86 markcmiller86 commented Apr 23, 2026

This PR adjusts CI workflows to ensure tests are run only when changes to files impacting code are made. So, changes to documentation will not trigger CI.

It also uses a new kind of feature of GitHub actions called a reusable workflow. That way, only one place contains knowledge of which files are considered code.

That reusable workflow is then used within the main.yml and rpmbuild.yml.

@markcmiller86
Copy link
Copy Markdown
Member Author

@cyrush just tagging you to bring your attention to this reusable workflow concept (ChatGPT helped me with) if you weren't already aware. I just learned about it. detect-source-changes.yml is used within other workflow files to filter changes in PRs to decide whether the change involves files that impact source code or not.

@markcmiller86 markcmiller86 merged commit da0c2dd into 4.12RC Apr 23, 2026
6 checks passed
@markcmiller86 markcmiller86 deleted the task-mcm86-22apr26-skip-ci-doc branch April 23, 2026 23:55
markcmiller86 added a commit that referenced this pull request Apr 24, 2026
Merge pull request #546 from llnl/task-mcm86-22apr26-skip-ci-doc
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.

1 participant