Skip to content
Compare
Choose a tag to compare
@github-actions github-actions released this 23 Jun 19:21
· 731 commits to main since this release
a0585ff

Changes in v37.6.1

What's Changed

Full Changelog: v37...v37.6.1


Changes in v37.6.0

What's Changed

Full Changelog: v37...v37.6.0


Changes in v37.5.2

What's Changed

Full Changelog: v37...v37.5.2


Changes in v37.5.1

What's Changed

Full Changelog: v37...v37.5.1


Changes in v37.5.0

What's Changed

Full Changelog: v37...v37.5.0


Changes in v37.4.0

What's Changed

Full Changelog: v37...v37.4.0


Changes in v37.3.0

What's Changed

Full Changelog: v37...v37.3.0


Changes in v37.2.0

What's Changed

Full Changelog: v37...v37.2.0


Changes in v37.1.2

What's Changed

Full Changelog: v37...v37.1.2


Changes in v37.1.1

What's Changed

Full Changelog: v37...v37.1.1


Changes in v37.1.0

What's Changed

Full Changelog: v37...v37.1.0


Changes in v37.0.5

What's Changed

Full Changelog: v37...v37.0.5


Changes in v37.0.4

What's Changed

Full Changelog: v37...v37.0.4


Changes in v37.0.3

What's Changed

Full Changelog: v37...v37.0.3


Changes in v37.0.2

What's Changed

Full Changelog: v37...v37.0.2


Changes in v37.0.1

What's Changed

Full Changelog: v37...v37.0.1


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

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: v36...v37.0.0