Skip to content

Releases: AceFire6/file_changes

Upgrade to Node 20

12 Feb 15:49
Compare
Choose a tag to compare

What's Changed

  • Update Github workflows
  • Bump node version to Node 20
  • Update all dependencies

Dependency Change PRs

Full Changelog: v0.3.0...v0.4.0

File Changes - Fix tests

10 Dec 21:23
Compare
Choose a tag to compare
  • Make tests work with new set output system
  • Change prettier & eslint config to require semi-colons and brace spacing

File Changes - Upgrade to Node16

10 Dec 14:05
Compare
Choose a tag to compare

NOTE: Don't use this - probably broken - fix inbound

  • Upgrade all dependencies
  • Use Node 16
  • Format all the code with prettier
  • Update configs

File Changes - Add Multiple Glob Support& Glob Template

21 Jun 12:33
Compare
Choose a tag to compare

Added

  • Inputs: glob-template - Set the way to format globs - default is '{glob}'

Changed

  • Inputs: change-map - Rename glob -> globs & support JSON arrays

File Changes - First Release

20 Jun 19:52
Compare
Choose a tag to compare

Added

  • Input: base_branch - set the branch to compare to, defaults to ${{ github.base_ref }}
  • Input: command - the command to run to get the file changes - optional {branchName} & {glob} replacements, defaults to git diff --name-status --no-renames {branchName} {glob}
  • Input: file-patterns - key-map of ADDED,CHANGED,DELETED to their respective patterns. Checks the start of the string for matches. Defaults are ADDED: {"pattern": "A\t"}, CHANGED: {"pattern": "M\t"}, DELETED: {"pattern": "D\t"}
  • Input: change-map - key-map of the changes you want to be checked for. The keys are used to name the outputs. The map part is a JSON object with a string glob and boolean separateDeleted.
  • Output: any-matches - is 'true' if there are any matches for any of the globs, otherwise, 'false'
  • Output: {change-map[n]-key} which holds all the found changed files. If separateDeletedisfalse` this includes deleted files.
  • Output: any-{change-map[n]-key} which is 'true' if any changes were found for the glob associated to the key, otherwise, 'false'
  • Output: deleted-{change-map[n]-key} which will only exist if separateDeleted is 'true' for the key. Will contain a list of deleted files