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.
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Bumps p3lim/license-year-updater from 1 to 2.
Release notes
Sourced from p3lim/license-year-updater's releases.
Commits
62bce57
Add exclude to test0069b36
Add some color to the tests54f0609
Add test workflowa2159c2
Encase path just in case1fa5c19
Add option to exclude words from author sectionca1cf3e
Don't expand same year7f7010c
Use argparse to handle args, moving input file paths to an option as multilin...a7317d6
Fix test file09486c1
Update license (#4)3eaf8e9
Update license (#3)Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)