Skip to content

Allow customizing the list of files (names or globs) scanned for updates#61

Merged
cpanato merged 1 commit intochainguard-dev:mainfrom
bleggett:bleggett/customize-files-included
Oct 8, 2025
Merged

Allow customizing the list of files (names or globs) scanned for updates#61
cpanato merged 1 commit intochainguard-dev:mainfrom
bleggett:bleggett/customize-files-included

Conversation

@bleggett
Copy link
Contributor

@bleggett bleggett commented Sep 2, 2025

This removes the (hardcoded) list of files ('*.yaml,*.yml,Dockerfile*,Makefile*,*.sh,*.tf,*.tfvars') that are checked for valid image SHAs and makes that an input variable named include-files, so people can check more/fewer kinds of files, as they desire.

e.g.

'*.yaml,*.yml,Dockerfile*,Makefile*,*.sh,*.tf,*.tfvars'

Or maybe you want Containerfiles only:

Containerfile.*

Or maybe there's a singular filename you care about, and don't want to glob:

'Cross.yaml'

The action defaults to the existing/current list, if no override list specified.

@bleggett bleggett force-pushed the bleggett/customize-files-included branch 2 times, most recently from 9d58f4e to 88cda56 Compare September 2, 2025 23:03
@found-it
Copy link
Contributor

found-it commented Oct 7, 2025

@cpanato do you mind taking a look here please? 🙏

@cpanato
Copy link
Member

cpanato commented Oct 8, 2025

@cpanato do you mind taking a look here please? 🙏

sorry missed this :/

@cpanato cpanato closed this Oct 8, 2025
@cpanato cpanato reopened this Oct 8, 2025
Copy link
Member

@cpanato cpanato left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

need to run: Please run the ./hack/update-inputs.sh script and commit the changes.

@bleggett bleggett force-pushed the bleggett/customize-files-included branch from 88cda56 to a440189 Compare October 8, 2025 17:00
Signed-off-by: Benjamin Leggett <benjamin@edera.io>
@bleggett bleggett force-pushed the bleggett/customize-files-included branch from a440189 to 810ffca Compare October 8, 2025 17:17
@bleggett bleggett requested a review from cpanato October 8, 2025 17:17
@bleggett
Copy link
Contributor Author

bleggett commented Oct 8, 2025

@cpanato done,thanks!

Copy link
Member

@cpanato cpanato left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

thanks

@cpanato cpanato merged commit 06a8d99 into chainguard-dev:main Oct 8, 2025
6 checks passed
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.

3 participants