AdamOswald / Huggingface-Space

1 stars 3 forks source link

Update tj-actions/changed-files action to v36 [SECURITY] #97

Open renovate[bot] opened 6 months ago

renovate[bot] commented 6 months ago

Mend Renovate

This PR contains the following updates:

Package Type Update Change
tj-actions/changed-files action major 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 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

  1. Submit a pull request to a repository with a new file injecting a command. For example $(whoami).txt which is a valid filename.
  2. 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

- name: List all changed files
  env:
    ALL_CHANGED_FILES: $
  run: |
    for file in "$ALL_CHANGED_FILES"; do
      echo "$file was changed"
    done

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 becomes conflicted, or you tick the rebase/retry checkbox.

πŸ”• Ignore: Close this PR and you won't be reminded about this update again.



This PR has been generated by Mend Renovate. View repository job log here.

aviator-app[bot] commented 6 months ago

Current Aviator status

Aviator will automatically update this comment as the status of the PR changes. Comment /aviator refresh to force Aviator to re-examine your PR (or learn about other /aviator commands).

This pull request is currently open (not queued).

How to merge

To merge this PR, comment /aviator merge or add the mergequeue label.


See the real-time status of this PR on the Aviator webapp.

Use the Aviator Chrome Extension to see the status of your PR within GitHub.
performance-testing-bot[bot] commented 6 months ago

Unable to locate .performanceTestingBot config file

secure-code-warrior-for-github[bot] commented 6 months ago

Micro-Learning Topic: OS command injection (Detected by phrase)

Matched on "command injection"

What is this? (2min video)

In many situations, applications will rely on OS provided functions, scripts, macros and utilities instead of reimplementing them in code. While functions would typically be accessed through a native interface library, the remaining three OS provided features will normally be invoked via the command line or launched as a process. If unsafe inputs are used to construct commands or arguments, it may allow arbitrary OS operations to be performed that can compromise the server.

Try a challenge in Secure Code Warrior

Helpful references
  • OWASP Command Injection - OWASP community page with comprehensive information about command injection, and links to various OWASP resources to help detect or prevent it.
  • OWASP testing for Command Injection - This article is focused on providing testing techniques for identifying command injection flaws in your applications
pull-request-quantifier-deprecated[bot] commented 6 months ago

This PR has 2 quantified lines of changes. In general, a change size of upto 200 lines is ideal for the best PR experience!


Quantification details

``` Label : Extra Small Size : +1 -1 Percentile : 0.8% Total files changed: 1 Change summary by file extension: .yml : +1 -1 ``` > Change counts above are quantified counts, based on the [PullRequestQuantifier customizations](https://github.com/microsoft/PullRequestQuantifier/blob/main/docs/prquantifier-yaml.md).

Why proper sizing of changes matters

Optimal pull request sizes drive a better predictable PR flow as they strike a balance between between PR complexity and PR review overhead. PRs within the optimal size (typical small, or medium sized PRs) mean: - Fast and predictable releases to production: - Optimal size changes are more likely to be reviewed faster with fewer iterations. - Similarity in low PR complexity drives similar review times. - Review quality is likely higher as complexity is lower: - Bugs are more likely to be detected. - Code inconsistencies are more likely to be detected. - Knowledge sharing is improved within the participants: - Small portions can be assimilated better. - Better engineering practices are exercised: - Solving big problems by dividing them in well contained, smaller problems. - Exercising separation of concerns within the code changes. #### What can I do to optimize my changes - Use the PullRequestQuantifier to quantify your PR accurately - Create a context profile for your repo using the [context generator](https://github.com/microsoft/PullRequestQuantifier/releases) - Exclude files that are not necessary to be reviewed or do not increase the review complexity. Example: Autogenerated code, docs, project IDE setting files, binaries, etc. Check out the `Excluded` section from your `prquantifier.yaml` context profile. - Understand your typical change complexity, drive towards the desired complexity by adjusting the label mapping in your `prquantifier.yaml` context profile. - Only use the labels that matter to you, [see context specification](./docs/prquantifier-yaml.md) to customize your `prquantifier.yaml` context profile. - Change your engineering behaviors - For PRs that fall outside of the desired spectrum, review the details and check if: - Your PR could be split in smaller, self-contained PRs instead - Your PR only solves one particular issue. (For example, don't refactor and code new features in the same PR). #### How to interpret the change counts in git diff output - One line was added: `+1 -0` - One line was deleted: `+0 -1` - One line was modified: `+1 -1` (git diff doesn't know about modified, it will interpret that line like one addition plus one deletion) - Change percentiles: Change characteristics (addition, deletion, modification) of this PR in relation to all other PRs within the repository.


Was this comment helpful? :thumbsup:  :ok_hand:  :thumbsdown: (Email) Customize PullRequestQuantifier for this repository.

senior-dev-bot[bot] commented 6 months ago

Hi there! :wave: Thanks for opening a PR. :tada: To get the most out of Senior Dev, please sign up in our Web App, connect your GitHub account, and add/join your organization AdamOswald. After that, you will receive code reviews beginning on your next opened PR. :rocket:

guide-bot[bot] commented 6 months ago

Thanks for opening this Pull Request! We need you to:

  1. Fill out the description.

    Action: Edit description and replace <!- ... --> with actual values.

  2. Complete the activities.

    Action: Complete If you want to rebase/retry this PR, check this box

    If an activity is not applicable, use '\~activity description\~' to mark it not applicable.

difflens[bot] commented 6 months ago

View changes in DiffLens

coderabbitai[bot] commented 6 months ago

[!IMPORTANT]

Auto Review Skipped

Bot user detected.

To trigger a single review, invoke the @coderabbitai review command.

Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?

Share - [X](https://twitter.com/intent/tweet?text=I%20just%20used%20%40coderabbitai%20for%20my%20code%20review%2C%20and%20it%27s%20fantastic%21%20It%27s%20free%20for%20OSS%20and%20offers%20a%20free%20trial%20for%20the%20proprietary%20code.%20Check%20it%20out%3A&url=https%3A//coderabbit.ai) - [Mastodon](https://mastodon.social/share?text=I%20just%20used%20%40coderabbitai%20for%20my%20code%20review%2C%20and%20it%27s%20fantastic%21%20It%27s%20free%20for%20OSS%20and%20offers%20a%20free%20trial%20for%20the%20proprietary%20code.%20Check%20it%20out%3A%20https%3A%2F%2Fcoderabbit.ai) - [Reddit](https://www.reddit.com/submit?title=Great%20tool%20for%20code%20review%20-%20CodeRabbit&text=I%20just%20used%20CodeRabbit%20for%20my%20code%20review%2C%20and%20it%27s%20fantastic%21%20It%27s%20free%20for%20OSS%20and%20offers%20a%20free%20trial%20for%20proprietary%20code.%20Check%20it%20out%3A%20https%3A//coderabbit.ai) - [LinkedIn](https://www.linkedin.com/sharing/share-offsite/?url=https%3A%2F%2Fcoderabbit.ai&mini=true&title=Great%20tool%20for%20code%20review%20-%20CodeRabbit&summary=I%20just%20used%20CodeRabbit%20for%20my%20code%20review%2C%20and%20it%27s%20fantastic%21%20It%27s%20free%20for%20OSS%20and%20offers%20a%20free%20trial%20for%20proprietary%20code)

Tips ### Chat with CodeRabbit Bot (`@coderabbitai`) - You can directly reply to a review comment made by CodeRabbit. Example: - `I pushed a fix in commit .` - `Generate unit-tests for this file.` - You can tag CodeRabbit on specific lines of code or entire files in the PR by tagging `@coderabbitai` in a comment. Examples: - `@coderabbitai generate unit tests for this file.` - `@coderabbitai modularize this function.` - You can tag `@coderabbitai` in a PR comment and ask questions about the PR and the codebase. Examples: - `@coderabbitai generate interesting stats about this repository from git and render them as a table.` - `@coderabbitai show all the console.log statements in this repository.` - `@coderabbitai read src/utils.ts and generate unit tests.` - `@coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid.` - `@coderabbitai read the files in the src/scheduler package and generate README in the markdown format.` Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. ### CodeRabbit Commands (invoked as PR comments) - `@coderabbitai pause` to pause the reviews on a PR. - `@coderabbitai resume` to resume the paused reviews. - `@coderabbitai review` to trigger a review. This is useful when automatic reviews are disabled for the repository. - `@coderabbitai resolve` resolve all the CodeRabbit review comments. - `@coderabbitai help` to get help. Additionally, you can add `@coderabbitai ignore` anywhere in the PR description to prevent this PR from being reviewed. ### CodeRabbit Configration File (`.coderabbit.yaml`) - You can programmatically configure CodeRabbit by adding a `.coderabbit.yaml` file to the root of your repository. - The JSON schema for the configuration file is available [here](https://coderabbit.ai/integrations/coderabbit-overrides.v2.json). - If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: `# yaml-language-server: $schema=https://coderabbit.ai/integrations/coderabbit-overrides.v2.json` ### CodeRabbit Discord Community Join our [Discord Community](https://discord.com/invite/GsXnASn26c) to get help, request features, and share feedback.