Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -87,20 +87,20 @@ 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:
fetch-depth: 2

- 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"
Expand All @@ -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

Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/test-suite.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,18 +32,18 @@ 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:
fetch-depth: 2

- 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
Expand All @@ -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"
Expand Down
Loading