diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index 106a0a246..647c9e07d 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -87,7 +87,7 @@ jobs: outputs: matrix: ${{ steps.set-matrix.outputs.matrix }} - changed-files: ${{ steps.changed-files.outputs.files }} + changed-files: ${{ steps.changed-files.outputs.all_changed_files }} steps: - uses: actions/checkout@v6 with: @@ -95,12 +95,12 @@ jobs: - name: Get changed code files id: changed-files - uses: yumemi-inc/changed-files@v3 + uses: tj-actions/changed-files@934b2d2c7e653bb8c968afed5a0428617f09aa24 - name: List all relevant changed files - if: steps.changed-files.outputs.exists == 'true' + if: steps.changed-files.outputs.any_changed == 'true' env: - ALL_CHANGED_FILES: ${{ steps.changed-files.outputs.files }} + ALL_CHANGED_FILES: ${{ steps.changed-files.outputs.all_changed_files }} run: | for file in ${ALL_CHANGED_FILES}; do echo "$file was changed" @@ -110,7 +110,7 @@ jobs: - name: Get CodeQL Languages id: set-matrix run: | - matrix=$(python scripts/get_codeql_languages.py --event ${{ github.event_name}} ${{ steps.changed-files.outputs.files }}) + matrix=$(python scripts/get_codeql_languages.py --event ${{ github.event_name}} ${{ steps.changed-files.outputs.all_changed_files }}) echo "${matrix}" echo "matrix={\"include\": ${matrix}}" >> $GITHUB_OUTPUT diff --git a/.github/workflows/test-suite.yml b/.github/workflows/test-suite.yml index bae1e965b..1b4ea059a 100644 --- a/.github/workflows/test-suite.yml +++ b/.github/workflows/test-suite.yml @@ -32,8 +32,8 @@ jobs: runs-on: ubuntu-latest outputs: - status: ${{ steps.changed-files.outputs.exists }} - changed_files: ${{ steps.changed-files.outputs.files }} + status: ${{ steps.changed-files.outputs.any_changed }} + changed_files: ${{ steps.changed-files.outputs.all_changed_files }} steps: - uses: actions/checkout@v6 with: @@ -41,9 +41,9 @@ jobs: - name: Get changed code files id: changed-files - uses: yumemi-inc/changed-files@v3 + uses: tj-actions/changed-files@934b2d2c7e653bb8c968afed5a0428617f09aa24 with: - patterns: | + files: | archive/** .glotter.yml repo-config.yml @@ -54,9 +54,9 @@ jobs: !**/*.md - name: List all relevant changed files - if: steps.changed-files.outputs.exists == 'true' + if: steps.changed-files.outputs.any_changed == 'true' env: - ALL_CHANGED_FILES: ${{ steps.changed-files.outputs.files }} + ALL_CHANGED_FILES: ${{ steps.changed-files.outputs.all_changed_files }} run: | for file in ${ALL_CHANGED_FILES}; do echo "$file was changed"