tj-actions/changed-files
### [`v37`](https://togithub.com/tj-actions/changed-files/releases/tag/v37)
[Compare Source](https://togithub.com/tj-actions/changed-files/compare/v36...v37)
### Changes in v37.0.0
#### 🚀 New Feature
- This version introduces support for using Github's REST API to retrieve the list of changed files without requiring the checkout action.
##### Example
```yml
name: CI
on:
pull_request:
branches:
- main
jobs:
### -------------------------------------------------------------
### Event `pull_request`: Returns all changed pull request files.
### --------------------------------------------------------------
job: # Example - Using GitHub's API
### NOTE:
### - This is limited to pull_request* events and would raise an error for other events.
### - A maximum of 3000 files can be returned.
runs-on: ubuntu-latest
name: Test changed-files
permissions:
pull-requests: read
steps:
- name: Get changed files
id: changed-files
uses: tj-actions/changed-files@v37
- name: List all changed files
run: |
for file in ${{ steps.changed-files.outputs.all_changed_files }}; do
echo "$file was changed"
done
```
#### 🔥 Breaking Change
- Removes the deprecated `dir_names_exclude_root` input which has been replaced by ` dir_names_exclude_current_dir `
#### What's Changed
- Upgraded to v36.4.1 by [@tj-actions-bot](https://togithub.com/tj-actions-bot) in [https://github.com/tj-actions/changed-files/pull/1283](https://togithub.com/tj-actions/changed-files/pull/1283)
- chore(deps): lock file maintenance by [@renovate](https://togithub.com/renovate) in [https://github.com/tj-actions/changed-files/pull/1284](https://togithub.com/tj-actions/changed-files/pull/1284)
- chore(deps): lock file maintenance by [@renovate](https://togithub.com/renovate) in [https://github.com/tj-actions/changed-files/pull/1285](https://togithub.com/tj-actions/changed-files/pull/1285)
- chore(deps): lock file maintenance by [@renovate](https://togithub.com/renovate) in [https://github.com/tj-actions/changed-files/pull/1287](https://togithub.com/tj-actions/changed-files/pull/1287)
- chore(deps): update tj-actions/verify-changed-files action to v16 by [@renovate](https://togithub.com/renovate) in [https://github.com/tj-actions/changed-files/pull/1288](https://togithub.com/tj-actions/changed-files/pull/1288)
- chore(deps): lock file maintenance by [@renovate](https://togithub.com/renovate) in [https://github.com/tj-actions/changed-files/pull/1290](https://togithub.com/tj-actions/changed-files/pull/1290)
- feat: add support for retrieving changed files via github rest api by [@jackton1](https://togithub.com/jackton1) in [https://github.com/tj-actions/changed-files/pull/1289](https://togithub.com/tj-actions/changed-files/pull/1289)
- Updated README.md by [@tj-actions-bot](https://togithub.com/tj-actions-bot) in [https://github.com/tj-actions/changed-files/pull/1292](https://togithub.com/tj-actions/changed-files/pull/1292)
- remove: deprecated dir_names_exclude_root by [@jackton1](https://togithub.com/jackton1) in [https://github.com/tj-actions/changed-files/pull/1291](https://togithub.com/tj-actions/changed-files/pull/1291)
- Updated README.md by [@tj-actions-bot](https://togithub.com/tj-actions-bot) in [https://github.com/tj-actions/changed-files/pull/1295](https://togithub.com/tj-actions/changed-files/pull/1295)
- chore: use input api url by [@jackton1](https://togithub.com/jackton1) in [https://github.com/tj-actions/changed-files/pull/1293](https://togithub.com/tj-actions/changed-files/pull/1293)
- chore(deps): lock file maintenance by [@renovate](https://togithub.com/renovate) in [https://github.com/tj-actions/changed-files/pull/1297](https://togithub.com/tj-actions/changed-files/pull/1297)
**Full Changelog**: https://github.com/tj-actions/changed-files/compare/v36...v37.0.0
***
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
â™» 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 has been generated by Mend Renovate. View repository job log here.
This PR contains the following updates:
v36
->v37
Release Notes
tj-actions/changed-files
### [`v37`](https://togithub.com/tj-actions/changed-files/releases/tag/v37) [Compare Source](https://togithub.com/tj-actions/changed-files/compare/v36...v37) ### Changes in v37.0.0 #### 🚀 New Feature - This version introduces support for using Github's REST API to retrieve the list of changed files without requiring the checkout action. ##### Example ```yml name: CI on: pull_request: branches: - main jobs: ### ------------------------------------------------------------- ### Event `pull_request`: Returns all changed pull request files. ### -------------------------------------------------------------- job: # Example - Using GitHub's API ### NOTE: ### - This is limited to pull_request* events and would raise an error for other events. ### - A maximum of 3000 files can be returned. runs-on: ubuntu-latest name: Test changed-files permissions: pull-requests: read steps: - name: Get changed files id: changed-files uses: tj-actions/changed-files@v37 - name: List all changed files run: | for file in ${{ steps.changed-files.outputs.all_changed_files }}; do echo "$file was changed" done ``` #### 🔥 Breaking Change - Removes the deprecated `dir_names_exclude_root` input which has been replaced by ` dir_names_exclude_current_dir ` #### What's Changed - Upgraded to v36.4.1 by [@tj-actions-bot](https://togithub.com/tj-actions-bot) in [https://github.com/tj-actions/changed-files/pull/1283](https://togithub.com/tj-actions/changed-files/pull/1283) - chore(deps): lock file maintenance by [@renovate](https://togithub.com/renovate) in [https://github.com/tj-actions/changed-files/pull/1284](https://togithub.com/tj-actions/changed-files/pull/1284) - chore(deps): lock file maintenance by [@renovate](https://togithub.com/renovate) in [https://github.com/tj-actions/changed-files/pull/1285](https://togithub.com/tj-actions/changed-files/pull/1285) - chore(deps): lock file maintenance by [@renovate](https://togithub.com/renovate) in [https://github.com/tj-actions/changed-files/pull/1287](https://togithub.com/tj-actions/changed-files/pull/1287) - chore(deps): update tj-actions/verify-changed-files action to v16 by [@renovate](https://togithub.com/renovate) in [https://github.com/tj-actions/changed-files/pull/1288](https://togithub.com/tj-actions/changed-files/pull/1288) - chore(deps): lock file maintenance by [@renovate](https://togithub.com/renovate) in [https://github.com/tj-actions/changed-files/pull/1290](https://togithub.com/tj-actions/changed-files/pull/1290) - feat: add support for retrieving changed files via github rest api by [@jackton1](https://togithub.com/jackton1) in [https://github.com/tj-actions/changed-files/pull/1289](https://togithub.com/tj-actions/changed-files/pull/1289) - Updated README.md by [@tj-actions-bot](https://togithub.com/tj-actions-bot) in [https://github.com/tj-actions/changed-files/pull/1292](https://togithub.com/tj-actions/changed-files/pull/1292) - remove: deprecated dir_names_exclude_root by [@jackton1](https://togithub.com/jackton1) in [https://github.com/tj-actions/changed-files/pull/1291](https://togithub.com/tj-actions/changed-files/pull/1291) - Updated README.md by [@tj-actions-bot](https://togithub.com/tj-actions-bot) in [https://github.com/tj-actions/changed-files/pull/1295](https://togithub.com/tj-actions/changed-files/pull/1295) - chore: use input api url by [@jackton1](https://togithub.com/jackton1) in [https://github.com/tj-actions/changed-files/pull/1293](https://togithub.com/tj-actions/changed-files/pull/1293) - chore(deps): lock file maintenance by [@renovate](https://togithub.com/renovate) in [https://github.com/tj-actions/changed-files/pull/1297](https://togithub.com/tj-actions/changed-files/pull/1297) **Full Changelog**: https://github.com/tj-actions/changed-files/compare/v36...v37.0.0 ***Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
â™» 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 has been generated by Mend Renovate. View repository job log here.