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

ci(github-action)!: Update tj-actions/changed-files action to v37.0.0 #832

Merged
merged 1 commit into from
Jun 24, 2023

Conversation

greyrock-repo-duster[bot]
Copy link
Contributor

This PR contains the following updates:

Package Type Update Change
tj-actions/changed-files action major v36.4.1 -> v37.0.0

Release Notes

tj-actions/changed-files (tj-actions/changed-files)

v37.0.0

Compare Source

🚀 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
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

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


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.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

| datasource  | package                  | from    | to      |
| ----------- | ------------------------ | ------- | ------- |
| github-tags | tj-actions/changed-files | v36.4.1 | v37.0.0 |
@greyrock-repo-duster greyrock-repo-duster bot added type/major Issue relates to a major version bump size/XS area/ci Issue relates to CI labels Jun 23, 2023
@greyrock-repo-duster
Copy link
Contributor Author

🦙 MegaLinter status: ✅ SUCCESS

Descriptor Linter Files Fixed Errors Elapsed time
✅ ACTION actionlint 1 0 0.05s
✅ COPYPASTE jscpd yes no 1.5s
✅ REPOSITORY git_diff yes no 0.02s
✅ REPOSITORY secretlint yes no 3.71s
✅ YAML prettier 1 0 0.46s
✅ YAML yamllint 1 0 0.24s

See detailed report in MegaLinter reports
Set VALIDATE_ALL_CODEBASE: true in mega-linter.yml to validate all sources, not only the diff

MegaLinter is graciously provided by OX Security

@doonga doonga merged commit d88d2bf into main Jun 24, 2023
7 checks passed
@doonga doonga deleted the renovate/tj-actions-changed-files-37.x branch June 24, 2023 13:32
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area/ci Issue relates to CI type/major Issue relates to a major version bump
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant