The tj-actions/changed-files workflow allows for command injection in changed filenames, allowing an attacker to execute arbitrary code and potentially leak secrets.
Details
The changed-files action returns a list of files changed in a commit or pull request which provides an escape_json input enabled by default, only escapes " for JSON values.
This could potentially allow filenames that contain special characters such as ; and ` (backtick) which can be used by an attacker to take over the GitHub Runner if the output value is used in a raw fashion (thus being directly replaced before execution) inside a run block. By running custom commands an attacker may be able to steal secrets such as GITHUB_TOKEN if triggered on other events than pull_request. For example on push.
Proof of Concept
Submit a pull request to a repository with a new file injecting a command. For example $(whoami).txt which is a valid filename.
Upon approval of the workflow (triggered by the pull request), the action will get executed and the malicious pull request filename will flow into the List all changed files step below.
- name: List all changed files
run: |
for file in $; do
echo "$file was changed"
done
Example output:
##[group]Run for file in $(whoami).txt; do
for file in $(whoami).txt; do
echo "$file was changed"
done
shell: /usr/bin/bash -e {0}
##[endgroup]
runner.txt was changed
Impact
This issue may lead to arbitrary command execution in the GitHub Runner.
Resolution
A new safe_output input would be enabled by default and return filename paths escaping special characters like ;, ` (backtick), $, (), etc for bash environments.
A safe recommendation of using environment variables to store unsafe outputs.
- name: List all changed files
env:
ALL_CHANGED_FILES: $
run: |
for file in "$ALL_CHANGED_FILES"; do
echo "$file was changed"
done
tj-actions/changed-files (tj-actions/changed-files)
### [`v36`](https://togithub.com/tj-actions/changed-files/releases/tag/v36)
[Compare Source](https://togithub.com/tj-actions/changed-files/compare/v35...v36)
### Changes in v36.4.1
#### What's Changed
- Upgraded to v36.4.0 by [@tj-actions-bot](https://togithub.com/tj-actions-bot) in [https://github.com/tj-actions/changed-files/pull/1275](https://togithub.com/tj-actions/changed-files/pull/1275)
- chore(deps): lock file maintenance by [@renovate](https://togithub.com/renovate) in [https://github.com/tj-actions/changed-files/pull/1277](https://togithub.com/tj-actions/changed-files/pull/1277)
- chore(deps): update dependency eslint-plugin-jest to v27.2.2 by [@renovate](https://togithub.com/renovate) in [https://github.com/tj-actions/changed-files/pull/1278](https://togithub.com/tj-actions/changed-files/pull/1278)
- chore(deps): update reviewdog/action-shellcheck action to v1.18 by [@renovate](https://togithub.com/renovate) in [https://github.com/tj-actions/changed-files/pull/1279](https://togithub.com/tj-actions/changed-files/pull/1279)
- chore(deps): update typescript-eslint monorepo to v5.60.0 by [@renovate](https://togithub.com/renovate) in [https://github.com/tj-actions/changed-files/pull/1282](https://togithub.com/tj-actions/changed-files/pull/1282)
- fix: bug with returning old filename in renamed files output by [@jackton1](https://togithub.com/jackton1) in [https://github.com/tj-actions/changed-files/pull/1281](https://togithub.com/tj-actions/changed-files/pull/1281)
**Full Changelog**: https://github.com/tj-actions/changed-files/compare/v36...v36.4.1
***
### Changes in v36.4.0
#### What's Changed
- Upgraded to v36.3.0 by [@tj-actions-bot](https://togithub.com/tj-actions-bot) in [https://github.com/tj-actions/changed-files/pull/1267](https://togithub.com/tj-actions/changed-files/pull/1267)
- chore(deps): update dependency eslint to v8.43.0 by [@renovate](https://togithub.com/renovate) in [https://github.com/tj-actions/changed-files/pull/1268](https://togithub.com/tj-actions/changed-files/pull/1268)
- feat: add support for recovering deleted files by [@jackton1](https://togithub.com/jackton1) in [https://github.com/tj-actions/changed-files/pull/1269](https://togithub.com/tj-actions/changed-files/pull/1269)
- Updated README.md by [@tj-actions-bot](https://togithub.com/tj-actions-bot) in [https://github.com/tj-actions/changed-files/pull/1270](https://togithub.com/tj-actions/changed-files/pull/1270)
- chore(deps): lock file maintenance by [@renovate](https://togithub.com/renovate) in [https://github.com/tj-actions/changed-files/pull/1271](https://togithub.com/tj-actions/changed-files/pull/1271)
- feat: move deleted file recovery to leverage filter by [@jackton1](https://togithub.com/jackton1) in [https://github.com/tj-actions/changed-files/pull/1272](https://togithub.com/tj-actions/changed-files/pull/1272)
- feat: add support for returning changed file counts by [@jackton1](https://togithub.com/jackton1) in [https://github.com/tj-actions/changed-files/pull/1273](https://togithub.com/tj-actions/changed-files/pull/1273)
- Updated README.md by [@tj-actions-bot](https://togithub.com/tj-actions-bot) in [https://github.com/tj-actions/changed-files/pull/1274](https://togithub.com/tj-actions/changed-files/pull/1274)
**Full Changelog**: https://github.com/tj-actions/changed-files/compare/v36...v36.4.0
***
### Changes in v36.3.0
#### π New Features
- introduces the `files_yaml`, `files_yaml_from_source_file` this enables creating filters using YAML.
##### Example
```yml
- name: Get all test, doc and src files that have changed
id: changed-files-yml
uses: tj-actions/changed-files@v36
with:
files_yaml: |
doc:
- *.md
- docs/**
- !docs/README.md
test:
- test/**
- !test/README.md
src:
- src/**
```
#### What's Changed
- Upgraded to v36.2.1 by [@tj-actions-bot](https://togithub.com/tj-actions-bot) in [https://github.com/tj-actions/changed-files/pull/1262](https://togithub.com/tj-actions/changed-files/pull/1262)
- chore(deps): lock file maintenance by [@renovate](https://togithub.com/renovate) in [https://github.com/tj-actions/changed-files/pull/1263](https://togithub.com/tj-actions/changed-files/pull/1263)
- Updated README.md by [@tj-actions-bot](https://togithub.com/tj-actions-bot) in [https://github.com/tj-actions/changed-files/pull/1264](https://togithub.com/tj-actions/changed-files/pull/1264)
- feat: add support for complex filters by [@jackton1](https://togithub.com/jackton1) in [https://github.com/tj-actions/changed-files/pull/1265](https://togithub.com/tj-actions/changed-files/pull/1265)
- Updated README.md by [@tj-actions-bot](https://togithub.com/tj-actions-bot) in [https://github.com/tj-actions/changed-files/pull/1266](https://togithub.com/tj-actions/changed-files/pull/1266)
**Full Changelog**: https://github.com/tj-actions/changed-files/compare/v36...v36.3.0
***
### Changes in v36.2.1
#### What's Changed
- chore: rename git fetch arguments by [@jackton1](https://togithub.com/jackton1) in [https://github.com/tj-actions/changed-files/pull/1259](https://togithub.com/tj-actions/changed-files/pull/1259)
- Upgraded to v36.2.0 by [@tj-actions-bot](https://togithub.com/tj-actions-bot) in [https://github.com/tj-actions/changed-files/pull/1258](https://togithub.com/tj-actions/changed-files/pull/1258)
- feat: add support for outputting renamed files as deleted and added by [@jackton1](https://togithub.com/jackton1) in [https://github.com/tj-actions/changed-files/pull/1260](https://togithub.com/tj-actions/changed-files/pull/1260)
- Updated README.md by [@tj-actions-bot](https://togithub.com/tj-actions-bot) in [https://github.com/tj-actions/changed-files/pull/1261](https://togithub.com/tj-actions/changed-files/pull/1261)
**Full Changelog**: https://github.com/tj-actions/changed-files/compare/v36...v36.2.1
***
### Changes in v36.2.0
#### What's Changed
- chore: Update README.md by [@tj-actions-bot](https://togithub.com/tj-actions-bot) in [https://github.com/tj-actions/changed-files/pull/1240](https://togithub.com/tj-actions/changed-files/pull/1240)
- chore: Update README.md by [@tj-actions-bot](https://togithub.com/tj-actions-bot) in [https://github.com/tj-actions/changed-files/pull/1237](https://togithub.com/tj-actions/changed-files/pull/1237)
- Updated README.md by [@tj-actions-bot](https://togithub.com/tj-actions-bot) in [https://github.com/tj-actions/changed-files/pull/1246](https://togithub.com/tj-actions/changed-files/pull/1246)
- Upgraded to v36.1.0 by [@tj-actions-bot](https://togithub.com/tj-actions-bot) in [https://github.com/tj-actions/changed-files/pull/1245](https://togithub.com/tj-actions/changed-files/pull/1245)
- chore(deps): update dependency [@types/uuid](https://togithub.com/types/uuid) to v9.0.2 by [@renovate](https://togithub.com/renovate) in [https://github.com/tj-actions/changed-files/pull/1247](https://togithub.com/tj-actions/changed-files/pull/1247)
- Updated README.md by [@tj-actions-bot](https://togithub.com/tj-actions-bot) in [https://github.com/tj-actions/changed-files/pull/1248](https://togithub.com/tj-actions/changed-files/pull/1248)
- Updated README.md by [@tj-actions-bot](https://togithub.com/tj-actions-bot) in [https://github.com/tj-actions/changed-files/pull/1249](https://togithub.com/tj-actions/changed-files/pull/1249)
- chore(deps): lock file maintenance by [@renovate](https://togithub.com/renovate) in [https://github.com/tj-actions/changed-files/pull/1250](https://togithub.com/tj-actions/changed-files/pull/1250)
- chore(deps): update tj-actions/verify-changed-files action to v15 by [@renovate](https://togithub.com/renovate) in [https://github.com/tj-actions/changed-files/pull/1251](https://togithub.com/tj-actions/changed-files/pull/1251)
- chore(deps): lock file maintenance by [@renovate](https://togithub.com/renovate) in [https://github.com/tj-actions/changed-files/pull/1252](https://togithub.com/tj-actions/changed-files/pull/1252)
- Updated README.md by [@tj-actions-bot](https://togithub.com/tj-actions-bot) in [https://github.com/tj-actions/changed-files/pull/1255](https://togithub.com/tj-actions/changed-files/pull/1255)
- chore(deps): update typescript-eslint monorepo to v5.59.11 by [@renovate](https://togithub.com/renovate) in [https://github.com/tj-actions/changed-files/pull/1253](https://togithub.com/tj-actions/changed-files/pull/1253)
- chore(deps): update peter-evans/create-pull-request action to v5.0.2 by [@renovate](https://togithub.com/renovate) in [https://github.com/tj-actions/changed-files/pull/1256](https://togithub.com/tj-actions/changed-files/pull/1256)
- feat: switch to use name status by [@jackton1](https://togithub.com/jackton1) in [https://github.com/tj-actions/changed-files/pull/1230](https://togithub.com/tj-actions/changed-files/pull/1230)
**Full Changelog**: https://github.com/tj-actions/changed-files/compare/v36...v36.2.0
***
### Changes in v36.1.0
#### What's Changed
- Upgraded to v36.0.18 by [@tj-actions-bot](https://togithub.com/tj-actions-bot) in [https://github.com/tj-actions/changed-files/pull/1234](https://togithub.com/tj-actions/changed-files/pull/1234)
- fix: bug with only\_(changed|modified|deleted) outputs by [@jackton1](https://togithub.com/jackton1) in [https://github.com/tj-actions/changed-files/pull/1238](https://togithub.com/tj-actions/changed-files/pull/1238)
- chore: improve test coverage by [@jackton1](https://togithub.com/jackton1) in [https://github.com/tj-actions/changed-files/pull/1235](https://togithub.com/tj-actions/changed-files/pull/1235)
- fix: bug with errors from fork prs by [@jackton1](https://togithub.com/jackton1) in [https://github.com/tj-actions/changed-files/pull/1239](https://togithub.com/tj-actions/changed-files/pull/1239)
- feat: improve warning message by [@jackton1](https://togithub.com/jackton1) in [https://github.com/tj-actions/changed-files/pull/1241](https://togithub.com/tj-actions/changed-files/pull/1241)
- chore: update event name by [@jackton1](https://togithub.com/jackton1) in [https://github.com/tj-actions/changed-files/pull/1242](https://togithub.com/tj-actions/changed-files/pull/1242)
- chore: update test by [@jackton1](https://togithub.com/jackton1) in [https://github.com/tj-actions/changed-files/pull/1243](https://togithub.com/tj-actions/changed-files/pull/1243)
- chore: fix bug with nx set shas by [@jackton1](https://togithub.com/jackton1) in [https://github.com/tj-actions/changed-files/pull/1244](https://togithub.com/tj-actions/changed-files/pull/1244)
**Full Changelog**: https://github.com/tj-actions/changed-files/compare/v36...v36.1.0
***
### Changes in v36.0.18
#### What's Changed
- Upgraded to v36.0.17 by [@tj-actions-bot](https://togithub.com/tj-actions-bot) in [https://github.com/tj-actions/changed-files/pull/1226](https://togithub.com/tj-actions/changed-files/pull/1226)
- chore(deps): update typescript-eslint monorepo to v5.59.9 by [@renovate](https://togithub.com/renovate) in [https://github.com/tj-actions/changed-files/pull/1227](https://togithub.com/tj-actions/changed-files/pull/1227)
- Updated README.md by [@tj-actions-bot](https://togithub.com/tj-actions-bot) in [https://github.com/tj-actions/changed-files/pull/1228](https://togithub.com/tj-actions/changed-files/pull/1228)
- feat: add dir_names_exclude_current_dir input and cleaned up logic to retrieve the current sha by [@jackton1](https://togithub.com/jackton1) in [https://github.com/tj-actions/changed-files/pull/1229](https://togithub.com/tj-actions/changed-files/pull/1229)
- Updated README.md by [@tj-actions-bot](https://togithub.com/tj-actions-bot) in [https://github.com/tj-actions/changed-files/pull/1231](https://togithub.com/tj-actions/changed-files/pull/1231)
- Updated README.md by [@tj-actions-bot](https://togithub.com/tj-actions-bot) in [https://github.com/tj-actions/changed-files/pull/1232](https://togithub.com/tj-actions/changed-files/pull/1232)
- Updated README.md by [@tj-actions-bot](https://togithub.com/tj-actions-bot) in [https://github.com/tj-actions/changed-files/pull/1233](https://togithub.com/tj-actions/changed-files/pull/1233)
**Full Changelog**: https://github.com/tj-actions/changed-files/compare/v36...v36.0.18
***
### Changes in v36.0.17
#### What's Changed
- Upgraded to v36.0.16 by [@tj-actions-bot](https://togithub.com/tj-actions-bot) in [https://github.com/tj-actions/changed-files/pull/1222](https://togithub.com/tj-actions/changed-files/pull/1222)
- chore: Update test.yml by [@jackton1](https://togithub.com/jackton1) in [https://github.com/tj-actions/changed-files/pull/1223](https://togithub.com/tj-actions/changed-files/pull/1223)
- chore(deps): lock file maintenance by [@renovate](https://togithub.com/renovate) in [https://github.com/tj-actions/changed-files/pull/1224](https://togithub.com/tj-actions/changed-files/pull/1224)
- chore: update README.md by [@jackton1](https://togithub.com/jackton1) in [https://github.com/tj-actions/changed-files/pull/1225](https://togithub.com/tj-actions/changed-files/pull/1225)
**Full Changelog**: https://github.com/tj-actions/changed-files/compare/v36...v36.0.17
***
### Changes in v36.0.16
#### What's Changed
- Upgraded to v36.0.15 by [@tj-actions-bot](https://togithub.com/tj-actions-bot) in [https://github.com/tj-actions/changed-files/pull/1219](https://togithub.com/tj-actions/changed-files/pull/1219)
- chore(deps): update dependency eslint to v8.42.0 by [@renovate](https://togithub.com/renovate) in [https://github.com/tj-actions/changed-files/pull/1220](https://togithub.com/tj-actions/changed-files/pull/1220)
- chore(deps): lock file maintenance by [@renovate](https://togithub.com/renovate) in [https://github.com/tj-actions/changed-files/pull/1221](https://togithub.com/tj-actions/changed-files/pull/1221)
**Full Changelog**: https://github.com/tj-actions/changed-files/compare/v36...v36.0.16
***
### Changes in v36.0.15
#### What's Changed
- Upgraded to v36.0.14 by [@tj-actions-bot](https://togithub.com/tj-actions-bot) in [https://github.com/tj-actions/changed-files/pull/1214](https://togithub.com/tj-actions/changed-files/pull/1214)
- fix: bug retrieving base sha for force push by [@jackton1](https://togithub.com/jackton1) in [https://github.com/tj-actions/changed-files/pull/1216](https://togithub.com/tj-actions/changed-files/pull/1216)
- chore(deps): lock file maintenance by [@renovate](https://togithub.com/renovate) in [https://github.com/tj-actions/changed-files/pull/1217](https://togithub.com/tj-actions/changed-files/pull/1217)
- chore(deps): update dependency eslint-plugin-github to v4.8.0 by [@renovate](https://togithub.com/renovate) in [https://github.com/tj-actions/changed-files/pull/1218](https://togithub.com/tj-actions/changed-files/pull/1218)
- chore(deps): update dependency typescript to v5.1.3 by [@renovate](https://togithub.com/renovate) in [https://github.com/tj-actions/changed-files/pull/1215](https://togithub.com/tj-actions/changed-files/pull/1215)
**Full Changelog**: https://github.com/tj-actions/changed-files/compare/v36...v36.0.15
***
### Changes in v36.0.14
#### What's Changed
- Upgraded to v36.0.12 by [@tj-actions-bot](https://togithub.com/tj-actions-bot) in [https://github.com/tj-actions/changed-files/pull/1210](https://togithub.com/tj-actions/changed-files/pull/1210)
- Upgraded to v36.0.13 by [@tj-actions-bot](https://togithub.com/tj-actions-bot) in [https://github.com/tj-actions/changed-files/pull/1212](https://togithub.com/tj-actions/changed-files/pull/1212)
- fix: bug with retrieving the base sha when since last commit is enabled by [@jackton1](https://togithub.com/jackton1) in [https://github.com/tj-actions/changed-files/pull/1213](https://togithub.com/tj-actions/changed-files/pull/1213)
**Full Changelog**: https://github.com/tj-actions/changed-files/compare/v36...v36.0.14
***
### Changes in v36.0.13
#### What's Changed
- fix: error fetching history by [@jackton1](https://togithub.com/jackton1) in [https://github.com/tj-actions/changed-files/pull/1211](https://togithub.com/tj-actions/changed-files/pull/1211)
**Full Changelog**: https://github.com/tj-actions/changed-files/compare/v36...v36.0.13
***
### Changes in v36.0.12
#### What's Changed
- Upgraded to v36.0.11 by [@tj-actions-bot](https://togithub.com/tj-actions-bot) in [https://github.com/tj-actions/changed-files/pull/1208](https://togithub.com/tj-actions/changed-files/pull/1208)
- fix: bug retrieving diff when persist credentials is false by [@jackton1](https://togithub.com/jackton1) in [https://github.com/tj-actions/changed-files/pull/1209](https://togithub.com/tj-actions/changed-files/pull/1209)
**Full Changelog**: https://github.com/tj-actions/changed-files/compare/v36...v36.0.12
***
### Changes in v36.0.11
#### What's Changed
- Upgraded to v36.0.10 by [@tj-actions-bot](https://togithub.com/tj-actions-bot) in [https://github.com/tj-actions/changed-files/pull/1202](https://togithub.com/tj-actions/changed-files/pull/1202)
- chore(deps): update dependency [@types/jest](https://togithub.com/types/jest) to v29.5.2 by [@renovate](https://togithub.com/renovate) in [https://github.com/tj-actions/changed-files/pull/1207](https://togithub.com/tj-actions/changed-files/pull/1207)
- chore: update test to include pull request head sha checkout by [@jackton1](https://togithub.com/jackton1) in [https://github.com/tj-actions/changed-files/pull/1205](https://togithub.com/tj-actions/changed-files/pull/1205)
**Full Changelog**: https://github.com/tj-actions/changed-files/compare/v36...v36.0.11
***
### Changes in v36.0.10
#### What's Changed
- Upgraded to v36.0.9 by [@tj-actions-bot](https://togithub.com/tj-actions-bot) in [https://github.com/tj-actions/changed-files/pull/1198](https://togithub.com/tj-actions/changed-files/pull/1198)
- chore(deps): update typescript-eslint monorepo to v5.59.8 by [@renovate](https://togithub.com/renovate) in [https://github.com/tj-actions/changed-files/pull/1199](https://togithub.com/tj-actions/changed-files/pull/1199)
- fix: bug with diff output by [@jackton1](https://togithub.com/jackton1) in [https://github.com/tj-actions/changed-files/pull/1201](https://togithub.com/tj-actions/changed-files/pull/1201)
**Full Changelog**: https://github.com/tj-actions/changed-files/compare/v36...v36.0.10
***
### Changes in v36.0.9
#### What's Changed
- Upgraded to v36.0.8 by [@tj-actions-bot](https://togithub.com/tj-actions-bot) in [https://github.com/tj-actions/changed-files/pull/1192](https://togithub.com/tj-actions/changed-files/pull/1192)
- Update README.md by [@jackton1](https://togithub.com/jackton1) in [https://github.com/tj-actions/changed-files/pull/1195](https://togithub.com/tj-actions/changed-files/pull/1195)
- Updated README.md by [@tj-actions-bot](https://togithub.com/tj-actions-bot) in [https://github.com/tj-actions/changed-files/pull/1196](https://togithub.com/tj-actions/changed-files/pull/1196)
- fix: matching all nested files with a directory name by [@jackton1](https://togithub.com/jackton1) in [https://github.com/tj-actions/changed-files/pull/1197](https://togithub.com/tj-actions/changed-files/pull/1197)
**Full Changelog**: https://github.com/tj-actions/changed-files/compare/v36...v36.0.9
***
### Changes in v36.0.8
#### What's Changed
- Upgraded to v36.0.7 by [@tj-actions-bot](https://togithub.com/tj-actions-bot) in [https://github.com/tj-actions/changed-files/pull/1190](https://togithub.com/tj-actions/changed-files/pull/1190)
- feat: add support for running on release event by [@jackton1](https://togithub.com/jackton1) in [https://github.com/tj-actions/changed-files/pull/1191](https://togithub.com/tj-actions/changed-files/pull/1191)
**Full Changelog**: https://github.com/tj-actions/changed-files/compare/v36...v36.0.8
***
### Changes in v36.0.7
#### What's Changed
- Upgraded to v36.0.6 by [@tj-actions-bot](https://togithub.com/tj-actions-bot) in [https://github.com/tj-actions/changed-files/pull/1184](https://togithub.com/tj-actions/changed-files/pull/1184)
- chore(deps): update tj-actions/eslint-changed-files action to v19 by [@renovate](https://togithub.com/renovate) in [https://github.com/tj-actions/changed-files/pull/1185](https://togithub.com/tj-actions/changed-files/pull/1185)
- fix: bug running changed files with limited history by [@jackton1](https://togithub.com/jackton1) in [https://github.com/tj-actions/changed-files/pull/1188](https://togithub.com/tj-actions/changed-files/pull/1188)
- chore(deps): lock file maintenance by [@renovate](https://togithub.com/renovate) in [https://github.com/tj-actions/changed-files/pull/1189](https://togithub.com/tj-actions/changed-files/pull/1189)
**Full Changelog**: https://github.com/tj-actions/changed-files/compare/v36...v36.0.7
***
### Changes in v36.0.6
#### What's Changed
- Upgraded to v36.0.5 by [@tj-actions-bot](https://togithub.com/tj-actions-bot) in [https://github.com/tj-actions/changed-files/pull/1182](https://togithub.com/tj-actions/changed-files/pull/1182)
- feat: deduplicate dir names list by [@jackton1](https://togithub.com/jackton1) in [https://github.com/tj-actions/changed-files/pull/1183](https://togithub.com/tj-actions/changed-files/pull/1183)
**Full Changelog**: https://github.com/tj-actions/changed-files/compare/v36...v36.0.6
***
### Changes in v36.0.5
#### What's Changed
- Upgraded to v36.0.4 by [@tj-actions-bot](https://togithub.com/tj-actions-bot) in [https://github.com/tj-actions/changed-files/pull/1180](https://togithub.com/tj-actions/changed-files/pull/1180)
- fix: error detecting initial commits by [@jackton1](https://togithub.com/jackton1) in [https://github.com/tj-actions/changed-files/pull/1181](https://togithub.com/tj-actions/changed-files/pull/1181)
**Full Changelog**: https://github.com/tj-actions/changed-files/compare/v36...v36.0.5
***
### Changes in v36.0.4
#### What's Changed
- Upgraded to v36.0.3 by [@tj-actions-bot](https://togithub.com/tj-actions-bot) in [https://github.com/tj-actions/changed-files/pull/1177](https://togithub.com/tj-actions/changed-files/pull/1177)
- chore(deps): lock file maintenance by [@renovate](https://togithub.com/renovate) in [https://github.com/tj-actions/changed-files/pull/1178](https://togithub.com/tj-actions/changed-files/pull/1178)
- fix: bug not using the path for source file inputs by [@jackton1](https://togithub.com/jackton1) in [https://github.com/tj-actions/changed-files/pull/1179](https://togithub.com/tj-actions/changed-files/pull/1179)
**Full Changelog**: https://github.com/tj-actions/changed-files/compare/v36...v36.0.4
***
### Changes in v36.0.3
#### What's Changed
- Upgraded to v36.0.2 by [@tj-actions-bot](https://togithub.com/tj-actions-bot) in [https://github.com/tj-actions/changed-files/pull/1175](https://togithub.com/tj-actions/changed-files/pull/1175)
- fix/resolve bug fetching more history by [@jackton1](https://togithub.com/jackton1) in [https://github.com/tj-actions/changed-files/pull/1176](https://togithub.com/tj-actions/changed-files/pull/1176)
**Full Changelog**: https://github.com/tj-actions/changed-files/compare/v36...v36.0.3
***
### Changes in v36.0.2
#### What's Changed
- Upgraded to v36.0.1 by [@tj-actions-bot](https://togithub.com/tj-actions-bot) in [https://github.com/tj-actions/changed-files/pull/1170](https://togithub.com/tj-actions/changed-files/pull/1170)
- fix: bug with retrieving submodules by [@jackton1](https://togithub.com/jackton1) in [https://github.com/tj-actions/changed-files/pull/1171](https://togithub.com/tj-actions/changed-files/pull/1171)
- fix: bug with retrieving submodules by [@jackton1](https://togithub.com/jackton1) in [https://github.com/tj-actions/changed-files/pull/1172](https://togithub.com/tj-actions/changed-files/pull/1172)
- fix: update test to include push event by [@jackton1](https://togithub.com/jackton1) in [https://github.com/tj-actions/changed-files/pull/1173](https://togithub.com/tj-actions/changed-files/pull/1173)
**Full Changelog**: https://github.com/tj-actions/changed-files/compare/v36...v36.0.2
***
### Changes in v36.0.1
#### What's Changed
- Upgraded to v36 by [@tj-actions-bot](https://togithub.com/tj-actions-bot) in [https://github.com/tj-actions/changed-files/pull/1168](https://togithub.com/tj-actions/changed-files/pull/1168)
- fix: bug with retrieving submodules by [@jackton1](https://togithub.com/jackton1) in [https://github.com/tj-actions/changed-files/pull/1169](https://togithub.com/tj-actions/changed-files/pull/1169)
**Full Changelog**: https://github.com/tj-actions/changed-files/compare/v36...v36.0.1
***
### Changes in v36.0.0
#### π Announcing v36: Major Performance Improvements and Enhanced Functionality!
##### We're thrilled to announce the release of v36! This new version brings a lot of exciting improvements and sets the stage for even more progress in the future.
We've made a major upgrade from a composite action to a javascript action, which brings a number of benefits, including:
- **Performance improvements:** We've made significant enhancements to glob filtering which resulted in over 60% faster execution times, with more improvements on the horizon.
- **Verbose logging:** We now provide detailed logs to help you better understand what's happening behind the scenes.
- **Clean abstractions/maintainability:** Our new architecture is more modular and easier to maintain.
- **Reduced complexity:** All functionality is now managed in this project, making it easier for you to use and understand.
- **Improved output file storage:** We've made it easier to store output files for further processing.
- Globstar patterns now work as expected `**.js` would match all .js files
And that's just the beginning! We've also made some important changes to our inputs and outputs:
##### π₯π₯ BREAKING CHANGES π₯ π₯
##### Inputs
- `json_raw_format`: We've changed this input to `escape_json`, which returns unescaped values when set to `false`.
- `match_directories`: We've removed this input, but you can still get matching directories by setting `dir_names` to `true`.
- `diff_relative`: This input now has a default value of `true`.
- `files_from_source_file_separator`: We've added this input to enable using a custom separator to split filenames passed via the `files_from_source_file` input.
- `files_ignore_from_source_file_separator`: We've also added this input with a similar use case for the `files_ignore_from_source_file` input.
##### Outputs
- `any_(changed|modified|deleted)`: This output now always returns either a `true` or `false` as opposed to an empty string when there are no patterns.
- `only_(changed|modified|deleted)`: Similar changes also apply here, which now return either a `true` or `false`.
##### Versioning
- The `[...]-sec` tags will no longer be created going forward, with the introduction of this new design.
We're excited about all of these changes and can't wait for you to try them out. As always, if you have any questions or feedback, please don't hesitate to reach out!
**Full Changelog**: https://github.com/tj-actions/changed-files/compare/v35...v36.0.0
***
Configuration
π Schedule: Branch creation - "" (UTC), Automerge - At any time (no schedule defined).
π¦ Automerge: Disabled by config. Please merge this manually once you are satisfied.
β» Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
π Ignore: Close this PR and you won't be reminded about this update again.
[ ] If you want to rebase/retry this PR, check this box
This PR contains the following updates:
v35
->v36
GitHub Vulnerability Alerts
CVE-2023-51664
Summary
The
tj-actions/changed-files
workflow allows for command injection in changed filenames, allowing an attacker to execute arbitrary code and potentially leak secrets.Details
The
changed-files
action returns a list of files changed in a commit or pull request which provides anescape_json
input enabled by default, only escapes"
for JSON values.This could potentially allow filenames that contain special characters such as
;
and ` (backtick) which can be used by an attacker to take over the GitHub Runner if the output value is used in a raw fashion (thus being directly replaced before execution) inside arun
block. By running custom commands an attacker may be able to steal secrets such asGITHUB_TOKEN
if triggered on other events thanpull_request
. For example onpush
.Proof of Concept
$(whoami).txt
which is a valid filename.List all changed files
step below.Example output:
Impact
This issue may lead to arbitrary command execution in the GitHub Runner.
Resolution
A new
safe_output
input would be enabled by default and return filename paths escaping special characters like ;, ` (backtick), $, (), etc for bash environments.A safe recommendation of using environment variables to store unsafe outputs.
Resources
Release Notes
tj-actions/changed-files (tj-actions/changed-files)
### [`v36`](https://togithub.com/tj-actions/changed-files/releases/tag/v36) [Compare Source](https://togithub.com/tj-actions/changed-files/compare/v35...v36) ### Changes in v36.4.1 #### What's Changed - Upgraded to v36.4.0 by [@tj-actions-bot](https://togithub.com/tj-actions-bot) in [https://github.com/tj-actions/changed-files/pull/1275](https://togithub.com/tj-actions/changed-files/pull/1275) - chore(deps): lock file maintenance by [@renovate](https://togithub.com/renovate) in [https://github.com/tj-actions/changed-files/pull/1277](https://togithub.com/tj-actions/changed-files/pull/1277) - chore(deps): update dependency eslint-plugin-jest to v27.2.2 by [@renovate](https://togithub.com/renovate) in [https://github.com/tj-actions/changed-files/pull/1278](https://togithub.com/tj-actions/changed-files/pull/1278) - chore(deps): update reviewdog/action-shellcheck action to v1.18 by [@renovate](https://togithub.com/renovate) in [https://github.com/tj-actions/changed-files/pull/1279](https://togithub.com/tj-actions/changed-files/pull/1279) - chore(deps): update typescript-eslint monorepo to v5.60.0 by [@renovate](https://togithub.com/renovate) in [https://github.com/tj-actions/changed-files/pull/1282](https://togithub.com/tj-actions/changed-files/pull/1282) - fix: bug with returning old filename in renamed files output by [@jackton1](https://togithub.com/jackton1) in [https://github.com/tj-actions/changed-files/pull/1281](https://togithub.com/tj-actions/changed-files/pull/1281) **Full Changelog**: https://github.com/tj-actions/changed-files/compare/v36...v36.4.1 *** ### Changes in v36.4.0 #### What's Changed - Upgraded to v36.3.0 by [@tj-actions-bot](https://togithub.com/tj-actions-bot) in [https://github.com/tj-actions/changed-files/pull/1267](https://togithub.com/tj-actions/changed-files/pull/1267) - chore(deps): update dependency eslint to v8.43.0 by [@renovate](https://togithub.com/renovate) in [https://github.com/tj-actions/changed-files/pull/1268](https://togithub.com/tj-actions/changed-files/pull/1268) - feat: add support for recovering deleted files by [@jackton1](https://togithub.com/jackton1) in [https://github.com/tj-actions/changed-files/pull/1269](https://togithub.com/tj-actions/changed-files/pull/1269) - Updated README.md by [@tj-actions-bot](https://togithub.com/tj-actions-bot) in [https://github.com/tj-actions/changed-files/pull/1270](https://togithub.com/tj-actions/changed-files/pull/1270) - chore(deps): lock file maintenance by [@renovate](https://togithub.com/renovate) in [https://github.com/tj-actions/changed-files/pull/1271](https://togithub.com/tj-actions/changed-files/pull/1271) - feat: move deleted file recovery to leverage filter by [@jackton1](https://togithub.com/jackton1) in [https://github.com/tj-actions/changed-files/pull/1272](https://togithub.com/tj-actions/changed-files/pull/1272) - feat: add support for returning changed file counts by [@jackton1](https://togithub.com/jackton1) in [https://github.com/tj-actions/changed-files/pull/1273](https://togithub.com/tj-actions/changed-files/pull/1273) - Updated README.md by [@tj-actions-bot](https://togithub.com/tj-actions-bot) in [https://github.com/tj-actions/changed-files/pull/1274](https://togithub.com/tj-actions/changed-files/pull/1274) **Full Changelog**: https://github.com/tj-actions/changed-files/compare/v36...v36.4.0 *** ### Changes in v36.3.0 #### π New Features - introduces the `files_yaml`, `files_yaml_from_source_file` this enables creating filters using YAML. ##### Example ```yml - name: Get all test, doc and src files that have changed id: changed-files-yml uses: tj-actions/changed-files@v36 with: files_yaml: | doc: - *.md - docs/** - !docs/README.md test: - test/** - !test/README.md src: - src/** ``` #### What's Changed - Upgraded to v36.2.1 by [@tj-actions-bot](https://togithub.com/tj-actions-bot) in [https://github.com/tj-actions/changed-files/pull/1262](https://togithub.com/tj-actions/changed-files/pull/1262) - chore(deps): lock file maintenance by [@renovate](https://togithub.com/renovate) in [https://github.com/tj-actions/changed-files/pull/1263](https://togithub.com/tj-actions/changed-files/pull/1263) - Updated README.md by [@tj-actions-bot](https://togithub.com/tj-actions-bot) in [https://github.com/tj-actions/changed-files/pull/1264](https://togithub.com/tj-actions/changed-files/pull/1264) - feat: add support for complex filters by [@jackton1](https://togithub.com/jackton1) in [https://github.com/tj-actions/changed-files/pull/1265](https://togithub.com/tj-actions/changed-files/pull/1265) - Updated README.md by [@tj-actions-bot](https://togithub.com/tj-actions-bot) in [https://github.com/tj-actions/changed-files/pull/1266](https://togithub.com/tj-actions/changed-files/pull/1266) **Full Changelog**: https://github.com/tj-actions/changed-files/compare/v36...v36.3.0 *** ### Changes in v36.2.1 #### What's Changed - chore: rename git fetch arguments by [@jackton1](https://togithub.com/jackton1) in [https://github.com/tj-actions/changed-files/pull/1259](https://togithub.com/tj-actions/changed-files/pull/1259) - Upgraded to v36.2.0 by [@tj-actions-bot](https://togithub.com/tj-actions-bot) in [https://github.com/tj-actions/changed-files/pull/1258](https://togithub.com/tj-actions/changed-files/pull/1258) - feat: add support for outputting renamed files as deleted and added by [@jackton1](https://togithub.com/jackton1) in [https://github.com/tj-actions/changed-files/pull/1260](https://togithub.com/tj-actions/changed-files/pull/1260) - Updated README.md by [@tj-actions-bot](https://togithub.com/tj-actions-bot) in [https://github.com/tj-actions/changed-files/pull/1261](https://togithub.com/tj-actions/changed-files/pull/1261) **Full Changelog**: https://github.com/tj-actions/changed-files/compare/v36...v36.2.1 *** ### Changes in v36.2.0 #### What's Changed - chore: Update README.md by [@tj-actions-bot](https://togithub.com/tj-actions-bot) in [https://github.com/tj-actions/changed-files/pull/1240](https://togithub.com/tj-actions/changed-files/pull/1240) - chore: Update README.md by [@tj-actions-bot](https://togithub.com/tj-actions-bot) in [https://github.com/tj-actions/changed-files/pull/1237](https://togithub.com/tj-actions/changed-files/pull/1237) - Updated README.md by [@tj-actions-bot](https://togithub.com/tj-actions-bot) in [https://github.com/tj-actions/changed-files/pull/1246](https://togithub.com/tj-actions/changed-files/pull/1246) - Upgraded to v36.1.0 by [@tj-actions-bot](https://togithub.com/tj-actions-bot) in [https://github.com/tj-actions/changed-files/pull/1245](https://togithub.com/tj-actions/changed-files/pull/1245) - chore(deps): update dependency [@types/uuid](https://togithub.com/types/uuid) to v9.0.2 by [@renovate](https://togithub.com/renovate) in [https://github.com/tj-actions/changed-files/pull/1247](https://togithub.com/tj-actions/changed-files/pull/1247) - Updated README.md by [@tj-actions-bot](https://togithub.com/tj-actions-bot) in [https://github.com/tj-actions/changed-files/pull/1248](https://togithub.com/tj-actions/changed-files/pull/1248) - Updated README.md by [@tj-actions-bot](https://togithub.com/tj-actions-bot) in [https://github.com/tj-actions/changed-files/pull/1249](https://togithub.com/tj-actions/changed-files/pull/1249) - chore(deps): lock file maintenance by [@renovate](https://togithub.com/renovate) in [https://github.com/tj-actions/changed-files/pull/1250](https://togithub.com/tj-actions/changed-files/pull/1250) - chore(deps): update tj-actions/verify-changed-files action to v15 by [@renovate](https://togithub.com/renovate) in [https://github.com/tj-actions/changed-files/pull/1251](https://togithub.com/tj-actions/changed-files/pull/1251) - chore(deps): lock file maintenance by [@renovate](https://togithub.com/renovate) in [https://github.com/tj-actions/changed-files/pull/1252](https://togithub.com/tj-actions/changed-files/pull/1252) - Updated README.md by [@tj-actions-bot](https://togithub.com/tj-actions-bot) in [https://github.com/tj-actions/changed-files/pull/1255](https://togithub.com/tj-actions/changed-files/pull/1255) - chore(deps): update typescript-eslint monorepo to v5.59.11 by [@renovate](https://togithub.com/renovate) in [https://github.com/tj-actions/changed-files/pull/1253](https://togithub.com/tj-actions/changed-files/pull/1253) - chore(deps): update peter-evans/create-pull-request action to v5.0.2 by [@renovate](https://togithub.com/renovate) in [https://github.com/tj-actions/changed-files/pull/1256](https://togithub.com/tj-actions/changed-files/pull/1256) - feat: switch to use name status by [@jackton1](https://togithub.com/jackton1) in [https://github.com/tj-actions/changed-files/pull/1230](https://togithub.com/tj-actions/changed-files/pull/1230) **Full Changelog**: https://github.com/tj-actions/changed-files/compare/v36...v36.2.0 *** ### Changes in v36.1.0 #### What's Changed - Upgraded to v36.0.18 by [@tj-actions-bot](https://togithub.com/tj-actions-bot) in [https://github.com/tj-actions/changed-files/pull/1234](https://togithub.com/tj-actions/changed-files/pull/1234) - fix: bug with only\_(changed|modified|deleted) outputs by [@jackton1](https://togithub.com/jackton1) in [https://github.com/tj-actions/changed-files/pull/1238](https://togithub.com/tj-actions/changed-files/pull/1238) - chore: improve test coverage by [@jackton1](https://togithub.com/jackton1) in [https://github.com/tj-actions/changed-files/pull/1235](https://togithub.com/tj-actions/changed-files/pull/1235) - fix: bug with errors from fork prs by [@jackton1](https://togithub.com/jackton1) in [https://github.com/tj-actions/changed-files/pull/1239](https://togithub.com/tj-actions/changed-files/pull/1239) - feat: improve warning message by [@jackton1](https://togithub.com/jackton1) in [https://github.com/tj-actions/changed-files/pull/1241](https://togithub.com/tj-actions/changed-files/pull/1241) - chore: update event name by [@jackton1](https://togithub.com/jackton1) in [https://github.com/tj-actions/changed-files/pull/1242](https://togithub.com/tj-actions/changed-files/pull/1242) - chore: update test by [@jackton1](https://togithub.com/jackton1) in [https://github.com/tj-actions/changed-files/pull/1243](https://togithub.com/tj-actions/changed-files/pull/1243) - chore: fix bug with nx set shas by [@jackton1](https://togithub.com/jackton1) in [https://github.com/tj-actions/changed-files/pull/1244](https://togithub.com/tj-actions/changed-files/pull/1244) **Full Changelog**: https://github.com/tj-actions/changed-files/compare/v36...v36.1.0 *** ### Changes in v36.0.18 #### What's Changed - Upgraded to v36.0.17 by [@tj-actions-bot](https://togithub.com/tj-actions-bot) in [https://github.com/tj-actions/changed-files/pull/1226](https://togithub.com/tj-actions/changed-files/pull/1226) - chore(deps): update typescript-eslint monorepo to v5.59.9 by [@renovate](https://togithub.com/renovate) in [https://github.com/tj-actions/changed-files/pull/1227](https://togithub.com/tj-actions/changed-files/pull/1227) - Updated README.md by [@tj-actions-bot](https://togithub.com/tj-actions-bot) in [https://github.com/tj-actions/changed-files/pull/1228](https://togithub.com/tj-actions/changed-files/pull/1228) - feat: add dir_names_exclude_current_dir input and cleaned up logic to retrieve the current sha by [@jackton1](https://togithub.com/jackton1) in [https://github.com/tj-actions/changed-files/pull/1229](https://togithub.com/tj-actions/changed-files/pull/1229) - Updated README.md by [@tj-actions-bot](https://togithub.com/tj-actions-bot) in [https://github.com/tj-actions/changed-files/pull/1231](https://togithub.com/tj-actions/changed-files/pull/1231) - Updated README.md by [@tj-actions-bot](https://togithub.com/tj-actions-bot) in [https://github.com/tj-actions/changed-files/pull/1232](https://togithub.com/tj-actions/changed-files/pull/1232) - Updated README.md by [@tj-actions-bot](https://togithub.com/tj-actions-bot) in [https://github.com/tj-actions/changed-files/pull/1233](https://togithub.com/tj-actions/changed-files/pull/1233) **Full Changelog**: https://github.com/tj-actions/changed-files/compare/v36...v36.0.18 *** ### Changes in v36.0.17 #### What's Changed - Upgraded to v36.0.16 by [@tj-actions-bot](https://togithub.com/tj-actions-bot) in [https://github.com/tj-actions/changed-files/pull/1222](https://togithub.com/tj-actions/changed-files/pull/1222) - chore: Update test.yml by [@jackton1](https://togithub.com/jackton1) in [https://github.com/tj-actions/changed-files/pull/1223](https://togithub.com/tj-actions/changed-files/pull/1223) - chore(deps): lock file maintenance by [@renovate](https://togithub.com/renovate) in [https://github.com/tj-actions/changed-files/pull/1224](https://togithub.com/tj-actions/changed-files/pull/1224) - chore: update README.md by [@jackton1](https://togithub.com/jackton1) in [https://github.com/tj-actions/changed-files/pull/1225](https://togithub.com/tj-actions/changed-files/pull/1225) **Full Changelog**: https://github.com/tj-actions/changed-files/compare/v36...v36.0.17 *** ### Changes in v36.0.16 #### What's Changed - Upgraded to v36.0.15 by [@tj-actions-bot](https://togithub.com/tj-actions-bot) in [https://github.com/tj-actions/changed-files/pull/1219](https://togithub.com/tj-actions/changed-files/pull/1219) - chore(deps): update dependency eslint to v8.42.0 by [@renovate](https://togithub.com/renovate) in [https://github.com/tj-actions/changed-files/pull/1220](https://togithub.com/tj-actions/changed-files/pull/1220) - chore(deps): lock file maintenance by [@renovate](https://togithub.com/renovate) in [https://github.com/tj-actions/changed-files/pull/1221](https://togithub.com/tj-actions/changed-files/pull/1221) **Full Changelog**: https://github.com/tj-actions/changed-files/compare/v36...v36.0.16 *** ### Changes in v36.0.15 #### What's Changed - Upgraded to v36.0.14 by [@tj-actions-bot](https://togithub.com/tj-actions-bot) in [https://github.com/tj-actions/changed-files/pull/1214](https://togithub.com/tj-actions/changed-files/pull/1214) - fix: bug retrieving base sha for force push by [@jackton1](https://togithub.com/jackton1) in [https://github.com/tj-actions/changed-files/pull/1216](https://togithub.com/tj-actions/changed-files/pull/1216) - chore(deps): lock file maintenance by [@renovate](https://togithub.com/renovate) in [https://github.com/tj-actions/changed-files/pull/1217](https://togithub.com/tj-actions/changed-files/pull/1217) - chore(deps): update dependency eslint-plugin-github to v4.8.0 by [@renovate](https://togithub.com/renovate) in [https://github.com/tj-actions/changed-files/pull/1218](https://togithub.com/tj-actions/changed-files/pull/1218) - chore(deps): update dependency typescript to v5.1.3 by [@renovate](https://togithub.com/renovate) in [https://github.com/tj-actions/changed-files/pull/1215](https://togithub.com/tj-actions/changed-files/pull/1215) **Full Changelog**: https://github.com/tj-actions/changed-files/compare/v36...v36.0.15 *** ### Changes in v36.0.14 #### What's Changed - Upgraded to v36.0.12 by [@tj-actions-bot](https://togithub.com/tj-actions-bot) in [https://github.com/tj-actions/changed-files/pull/1210](https://togithub.com/tj-actions/changed-files/pull/1210) - Upgraded to v36.0.13 by [@tj-actions-bot](https://togithub.com/tj-actions-bot) in [https://github.com/tj-actions/changed-files/pull/1212](https://togithub.com/tj-actions/changed-files/pull/1212) - fix: bug with retrieving the base sha when since last commit is enabled by [@jackton1](https://togithub.com/jackton1) in [https://github.com/tj-actions/changed-files/pull/1213](https://togithub.com/tj-actions/changed-files/pull/1213) **Full Changelog**: https://github.com/tj-actions/changed-files/compare/v36...v36.0.14 *** ### Changes in v36.0.13 #### What's Changed - fix: error fetching history by [@jackton1](https://togithub.com/jackton1) in [https://github.com/tj-actions/changed-files/pull/1211](https://togithub.com/tj-actions/changed-files/pull/1211) **Full Changelog**: https://github.com/tj-actions/changed-files/compare/v36...v36.0.13 *** ### Changes in v36.0.12 #### What's Changed - Upgraded to v36.0.11 by [@tj-actions-bot](https://togithub.com/tj-actions-bot) in [https://github.com/tj-actions/changed-files/pull/1208](https://togithub.com/tj-actions/changed-files/pull/1208) - fix: bug retrieving diff when persist credentials is false by [@jackton1](https://togithub.com/jackton1) in [https://github.com/tj-actions/changed-files/pull/1209](https://togithub.com/tj-actions/changed-files/pull/1209) **Full Changelog**: https://github.com/tj-actions/changed-files/compare/v36...v36.0.12 *** ### Changes in v36.0.11 #### What's Changed - Upgraded to v36.0.10 by [@tj-actions-bot](https://togithub.com/tj-actions-bot) in [https://github.com/tj-actions/changed-files/pull/1202](https://togithub.com/tj-actions/changed-files/pull/1202) - chore(deps): update dependency [@types/jest](https://togithub.com/types/jest) to v29.5.2 by [@renovate](https://togithub.com/renovate) in [https://github.com/tj-actions/changed-files/pull/1207](https://togithub.com/tj-actions/changed-files/pull/1207) - chore: update test to include pull request head sha checkout by [@jackton1](https://togithub.com/jackton1) in [https://github.com/tj-actions/changed-files/pull/1205](https://togithub.com/tj-actions/changed-files/pull/1205) **Full Changelog**: https://github.com/tj-actions/changed-files/compare/v36...v36.0.11 *** ### Changes in v36.0.10 #### What's Changed - Upgraded to v36.0.9 by [@tj-actions-bot](https://togithub.com/tj-actions-bot) in [https://github.com/tj-actions/changed-files/pull/1198](https://togithub.com/tj-actions/changed-files/pull/1198) - chore(deps): update typescript-eslint monorepo to v5.59.8 by [@renovate](https://togithub.com/renovate) in [https://github.com/tj-actions/changed-files/pull/1199](https://togithub.com/tj-actions/changed-files/pull/1199) - fix: bug with diff output by [@jackton1](https://togithub.com/jackton1) in [https://github.com/tj-actions/changed-files/pull/1201](https://togithub.com/tj-actions/changed-files/pull/1201) **Full Changelog**: https://github.com/tj-actions/changed-files/compare/v36...v36.0.10 *** ### Changes in v36.0.9 #### What's Changed - Upgraded to v36.0.8 by [@tj-actions-bot](https://togithub.com/tj-actions-bot) in [https://github.com/tj-actions/changed-files/pull/1192](https://togithub.com/tj-actions/changed-files/pull/1192) - Update README.md by [@jackton1](https://togithub.com/jackton1) in [https://github.com/tj-actions/changed-files/pull/1195](https://togithub.com/tj-actions/changed-files/pull/1195) - Updated README.md by [@tj-actions-bot](https://togithub.com/tj-actions-bot) in [https://github.com/tj-actions/changed-files/pull/1196](https://togithub.com/tj-actions/changed-files/pull/1196) - fix: matching all nested files with a directory name by [@jackton1](https://togithub.com/jackton1) in [https://github.com/tj-actions/changed-files/pull/1197](https://togithub.com/tj-actions/changed-files/pull/1197) **Full Changelog**: https://github.com/tj-actions/changed-files/compare/v36...v36.0.9 *** ### Changes in v36.0.8 #### What's Changed - Upgraded to v36.0.7 by [@tj-actions-bot](https://togithub.com/tj-actions-bot) in [https://github.com/tj-actions/changed-files/pull/1190](https://togithub.com/tj-actions/changed-files/pull/1190) - feat: add support for running on release event by [@jackton1](https://togithub.com/jackton1) in [https://github.com/tj-actions/changed-files/pull/1191](https://togithub.com/tj-actions/changed-files/pull/1191) **Full Changelog**: https://github.com/tj-actions/changed-files/compare/v36...v36.0.8 *** ### Changes in v36.0.7 #### What's Changed - Upgraded to v36.0.6 by [@tj-actions-bot](https://togithub.com/tj-actions-bot) in [https://github.com/tj-actions/changed-files/pull/1184](https://togithub.com/tj-actions/changed-files/pull/1184) - chore(deps): update tj-actions/eslint-changed-files action to v19 by [@renovate](https://togithub.com/renovate) in [https://github.com/tj-actions/changed-files/pull/1185](https://togithub.com/tj-actions/changed-files/pull/1185) - fix: bug running changed files with limited history by [@jackton1](https://togithub.com/jackton1) in [https://github.com/tj-actions/changed-files/pull/1188](https://togithub.com/tj-actions/changed-files/pull/1188) - chore(deps): lock file maintenance by [@renovate](https://togithub.com/renovate) in [https://github.com/tj-actions/changed-files/pull/1189](https://togithub.com/tj-actions/changed-files/pull/1189) **Full Changelog**: https://github.com/tj-actions/changed-files/compare/v36...v36.0.7 *** ### Changes in v36.0.6 #### What's Changed - Upgraded to v36.0.5 by [@tj-actions-bot](https://togithub.com/tj-actions-bot) in [https://github.com/tj-actions/changed-files/pull/1182](https://togithub.com/tj-actions/changed-files/pull/1182) - feat: deduplicate dir names list by [@jackton1](https://togithub.com/jackton1) in [https://github.com/tj-actions/changed-files/pull/1183](https://togithub.com/tj-actions/changed-files/pull/1183) **Full Changelog**: https://github.com/tj-actions/changed-files/compare/v36...v36.0.6 *** ### Changes in v36.0.5 #### What's Changed - Upgraded to v36.0.4 by [@tj-actions-bot](https://togithub.com/tj-actions-bot) in [https://github.com/tj-actions/changed-files/pull/1180](https://togithub.com/tj-actions/changed-files/pull/1180) - fix: error detecting initial commits by [@jackton1](https://togithub.com/jackton1) in [https://github.com/tj-actions/changed-files/pull/1181](https://togithub.com/tj-actions/changed-files/pull/1181) **Full Changelog**: https://github.com/tj-actions/changed-files/compare/v36...v36.0.5 *** ### Changes in v36.0.4 #### What's Changed - Upgraded to v36.0.3 by [@tj-actions-bot](https://togithub.com/tj-actions-bot) in [https://github.com/tj-actions/changed-files/pull/1177](https://togithub.com/tj-actions/changed-files/pull/1177) - chore(deps): lock file maintenance by [@renovate](https://togithub.com/renovate) in [https://github.com/tj-actions/changed-files/pull/1178](https://togithub.com/tj-actions/changed-files/pull/1178) - fix: bug not using the path for source file inputs by [@jackton1](https://togithub.com/jackton1) in [https://github.com/tj-actions/changed-files/pull/1179](https://togithub.com/tj-actions/changed-files/pull/1179) **Full Changelog**: https://github.com/tj-actions/changed-files/compare/v36...v36.0.4 *** ### Changes in v36.0.3 #### What's Changed - Upgraded to v36.0.2 by [@tj-actions-bot](https://togithub.com/tj-actions-bot) in [https://github.com/tj-actions/changed-files/pull/1175](https://togithub.com/tj-actions/changed-files/pull/1175) - fix/resolve bug fetching more history by [@jackton1](https://togithub.com/jackton1) in [https://github.com/tj-actions/changed-files/pull/1176](https://togithub.com/tj-actions/changed-files/pull/1176) **Full Changelog**: https://github.com/tj-actions/changed-files/compare/v36...v36.0.3 *** ### Changes in v36.0.2 #### What's Changed - Upgraded to v36.0.1 by [@tj-actions-bot](https://togithub.com/tj-actions-bot) in [https://github.com/tj-actions/changed-files/pull/1170](https://togithub.com/tj-actions/changed-files/pull/1170) - fix: bug with retrieving submodules by [@jackton1](https://togithub.com/jackton1) in [https://github.com/tj-actions/changed-files/pull/1171](https://togithub.com/tj-actions/changed-files/pull/1171) - fix: bug with retrieving submodules by [@jackton1](https://togithub.com/jackton1) in [https://github.com/tj-actions/changed-files/pull/1172](https://togithub.com/tj-actions/changed-files/pull/1172) - fix: update test to include push event by [@jackton1](https://togithub.com/jackton1) in [https://github.com/tj-actions/changed-files/pull/1173](https://togithub.com/tj-actions/changed-files/pull/1173) **Full Changelog**: https://github.com/tj-actions/changed-files/compare/v36...v36.0.2 *** ### Changes in v36.0.1 #### What's Changed - Upgraded to v36 by [@tj-actions-bot](https://togithub.com/tj-actions-bot) in [https://github.com/tj-actions/changed-files/pull/1168](https://togithub.com/tj-actions/changed-files/pull/1168) - fix: bug with retrieving submodules by [@jackton1](https://togithub.com/jackton1) in [https://github.com/tj-actions/changed-files/pull/1169](https://togithub.com/tj-actions/changed-files/pull/1169) **Full Changelog**: https://github.com/tj-actions/changed-files/compare/v36...v36.0.1 *** ### Changes in v36.0.0 #### π Announcing v36: Major Performance Improvements and Enhanced Functionality! ##### We're thrilled to announce the release of v36! This new version brings a lot of exciting improvements and sets the stage for even more progress in the future. We've made a major upgrade from a composite action to a javascript action, which brings a number of benefits, including: - **Performance improvements:** We've made significant enhancements to glob filtering which resulted in over 60% faster execution times, with more improvements on the horizon. - **Verbose logging:** We now provide detailed logs to help you better understand what's happening behind the scenes. - **Clean abstractions/maintainability:** Our new architecture is more modular and easier to maintain. - **Reduced complexity:** All functionality is now managed in this project, making it easier for you to use and understand. - **Improved output file storage:** We've made it easier to store output files for further processing. - Globstar patterns now work as expected `**.js` would match all .js files And that's just the beginning! We've also made some important changes to our inputs and outputs: ##### π₯π₯ BREAKING CHANGES π₯ π₯ ##### Inputs - `json_raw_format`: We've changed this input to `escape_json`, which returns unescaped values when set to `false`. - `match_directories`: We've removed this input, but you can still get matching directories by setting `dir_names` to `true`. - `diff_relative`: This input now has a default value of `true`. - `files_from_source_file_separator`: We've added this input to enable using a custom separator to split filenames passed via the `files_from_source_file` input. - `files_ignore_from_source_file_separator`: We've also added this input with a similar use case for the `files_ignore_from_source_file` input. ##### Outputs - `any_(changed|modified|deleted)`: This output now always returns either a `true` or `false` as opposed to an empty string when there are no patterns. - `only_(changed|modified|deleted)`: Similar changes also apply here, which now return either a `true` or `false`. ##### Versioning - The `[...]-sec` tags will no longer be created going forward, with the introduction of this new design. We're excited about all of these changes and can't wait for you to try them out. As always, if you have any questions or feedback, please don't hesitate to reach out! **Full Changelog**: https://github.com/tj-actions/changed-files/compare/v35...v36.0.0 ***Configuration
π Schedule: Branch creation - "" (UTC), Automerge - At any time (no schedule defined).
π¦ Automerge: Disabled by config. Please merge this manually once you are satisfied.
β» Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
π Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.