ci: replace tj-actions#393
Merged
Merged
Conversation
botanical
approved these changes
Jul 22, 2025
anayeaye
approved these changes
Jul 22, 2025
Contributor
Author
|
Will merge on Monday, thank you both ! |
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.
What I am changing
Replace @tj-actions/changed-files
Addresses https://github.com/NASA-IMPACT/veda-architecture/issues/570
NOTE: The workflow trigger uses a glob pattern match (
ingestion-data/staging/dataset-config/**.json), whereas the current bash uses a regex pattern match (^ingestion-data/staging/dataset-config/.*\.json$)diffcmdHow I did it
tj-actionsbehaviorHow you can test it
Locally, via act
Pull down this branch + branch off of it
Commit a change outside of the target filepaths (e.g. an edit in ingestion-data/staging/discovery-items/, a top-level CONTRIBUTING.md add)
Run act, being sure to pass in event information required for the workflow
Expect → exit early condition to pass
Commit several change types (adds, edits, renames, deletes, etc.) throughout the repo, with at least one in the target filepath(s), and rerun act
Expect → deleted files in the target filepaths not to flag for publication
Expect → data types, expression evaluation to remain consistent (e.g. file list is still iterable, file count is still expected to be a number)