Skip to content
This repository has been archived by the owner on Jul 6, 2024. It is now read-only.

Commit

Permalink
ci(github-action)!: Update tj-actions/changed-files action to v37.0.0 (
Browse files Browse the repository at this point in the history
…#832)

This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
|
[tj-actions/changed-files](https://togithub.com/tj-actions/changed-files)
| action | major | `v36.4.1` -> `v37.0.0` |

---

### Release Notes

<details>
<summary>tj-actions/changed-files (tj-actions/changed-files)</summary>

###
[`v37.0.0`](https://togithub.com/tj-actions/changed-files/releases/tag/v37.0.0)

[Compare
Source](https://togithub.com/tj-actions/changed-files/compare/v36.4.1...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
[@&#8203;tj-actions-bot](https://togithub.com/tj-actions-bot) in
[tj-actions/changed-files#1283
- chore(deps): lock file maintenance by
[@&#8203;renovate](https://togithub.com/renovate) in
[tj-actions/changed-files#1284
- chore(deps): lock file maintenance by
[@&#8203;renovate](https://togithub.com/renovate) in
[tj-actions/changed-files#1285
- chore(deps): lock file maintenance by
[@&#8203;renovate](https://togithub.com/renovate) in
[tj-actions/changed-files#1287
- chore(deps): update tj-actions/verify-changed-files action to v16 by
[@&#8203;renovate](https://togithub.com/renovate) in
[tj-actions/changed-files#1288
- chore(deps): lock file maintenance by
[@&#8203;renovate](https://togithub.com/renovate) in
[tj-actions/changed-files#1290
- feat: add support for retrieving changed files via github rest api by
[@&#8203;jackton1](https://togithub.com/jackton1) in
[tj-actions/changed-files#1289
- Updated README.md by
[@&#8203;tj-actions-bot](https://togithub.com/tj-actions-bot) in
[tj-actions/changed-files#1292
- remove: deprecated dir_names_exclude_root by
[@&#8203;jackton1](https://togithub.com/jackton1) in
[tj-actions/changed-files#1291
- Updated README.md by
[@&#8203;tj-actions-bot](https://togithub.com/tj-actions-bot) in
[tj-actions/changed-files#1295
- chore: use input api url by
[@&#8203;jackton1](https://togithub.com/jackton1) in
[tj-actions/changed-files#1293
- chore(deps): lock file maintenance by
[@&#8203;renovate](https://togithub.com/renovate) in
[tj-actions/changed-files#1297

**Full Changelog**:
tj-actions/changed-files@v36...v37.0.0

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
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.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Renovate
Bot](https://togithub.com/renovatebot/renovate).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNS4xNDAuMyIsInVwZGF0ZWRJblZlciI6IjM1LjE0MC4zIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->

Co-authored-by: greyrock-bot <1583719+greyrock-bot[bot]@users.noreply.github.com>
  • Loading branch information
greyrock-repo-duster[bot] and greyrock-bot committed Jun 24, 2023
1 parent 880abce commit d88d2bf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/build-terraform-oci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
- name: Get changed files
id: changed-files
uses: tj-actions/changed-files@v36.4.1
uses: tj-actions/changed-files@v37.0.0
with:
dir_names: true
dir_names_max_depth: 3
Expand Down

0 comments on commit d88d2bf

Please sign in to comment.