Skip to content
Compare
Choose a tag to compare
@p3lim p3lim released this 24 Apr 16:06
· 11 commits to master since this release

Changes in v2

  • Added: option to exclude parts of the author
  • Changed: files are now separated by newlines, not spaces
  • Fixed: Current year getting expanded

WARNING: this version contains a breaking change!

If you are using this action to update multiple license files you will need to migrate your workflow.
To migrate to this version, replace your files section from:

with:
  files: license1.txt license2.txt

to:

with:
  files: |
    license1.txt
    license2.txt

This does not affect use-cases of a single file, this is still valid:

with:
  files: license1.txt

The reason behind this change is to support file paths with spaces in them (and I personally like this format better).
Multiline was chosen because workflows cannot pass lists as inputs to actions, only strings or booleans.