From 41a85b5c48a9f3b7279e8d7ddb1e23c3f5094980 Mon Sep 17 00:00:00 2001 From: rzuckerm Date: Mon, 25 May 2026 07:31:39 -0500 Subject: [PATCH 01/11] Replace yumemi-inc/changed-files with tj-actions/changed-files --- .github/workflows/codeql-analysis.yml | 10 +++++----- .github/workflows/test-suite.yml | 10 +++++----- 2 files changed, 10 insertions(+), 10 deletions(-) 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..429f0c7d4 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,7 +41,7 @@ jobs: - name: Get changed code files id: changed-files - uses: yumemi-inc/changed-files@v3 + uses: tj-actions/changed-files@934b2d2c7e653bb8c968afed5a0428617f09aa24 with: patterns: | archive/** @@ -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" From 4ae63658c7dc89689984282d5ea476c031b1ff25 Mon Sep 17 00:00:00 2001 From: rzuckerm Date: Mon, 25 May 2026 08:36:27 -0500 Subject: [PATCH 02/11] 'patterns' should be 'files' --- .github/workflows/test-suite.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test-suite.yml b/.github/workflows/test-suite.yml index 429f0c7d4..1b4ea059a 100644 --- a/.github/workflows/test-suite.yml +++ b/.github/workflows/test-suite.yml @@ -43,7 +43,7 @@ jobs: id: changed-files uses: tj-actions/changed-files@934b2d2c7e653bb8c968afed5a0428617f09aa24 with: - patterns: | + files: | archive/** .glotter.yml repo-config.yml From dfe4299c968ae25f035e959b26a8496627c91a84 Mon Sep 17 00:00:00 2001 From: rzuckerm Date: Mon, 25 May 2026 09:50:42 -0500 Subject: [PATCH 03/11] Add script to generate C# project files --- .github/workflows/codeql-analysis.yml | 5 +++++ .gitignore | 3 +++ scripts/generate_c_sharp_project_file.py | 28 ++++++++++++++++++++++++ scripts/get_codeql_languages.py | 2 +- 4 files changed, 37 insertions(+), 1 deletion(-) create mode 100644 scripts/generate_c_sharp_project_file.py diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index 647c9e07d..49558eac5 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -154,6 +154,11 @@ jobs: - name: Install Dependencies run: poetry install + # Set up C# for scanning. + - name: Set up C# + if: ${{ matrix.language == 'c#' }} + run: python scripts/generate_c_sharp_project_file.py + # Workaround for Kotlin scanning. - name: Set up Kotlin if: ${{ matrix.language == 'kotlin' }} diff --git a/.gitignore b/.gitignore index feee527dc..a687a694f 100644 --- a/.gitignore +++ b/.gitignore @@ -42,3 +42,6 @@ Program.fs # Rust Cargo.toml Cargo.lock + +# C# +*.csproj diff --git a/scripts/generate_c_sharp_project_file.py b/scripts/generate_c_sharp_project_file.py new file mode 100644 index 000000000..96d1a2114 --- /dev/null +++ b/scripts/generate_c_sharp_project_file.py @@ -0,0 +1,28 @@ +from pathlib import Path + +import yaml + +C_SHARP_ARCHIVE_DIR = Path("archive/c/c-sharp") +C_SHARP_PROJECT_CONTENTS = """\ + + + Library + net{version} + enable + enable + true + + +""" + + + +def main(): + testinfo = yaml.safe_load((C_SHARP_ARCHIVE_DIR / "testinfo.yml").read_text(encoding="utf-8")) + tag = testinfo["container"]["tag"] + project_contents = C_SHARP_PROJECT_CONTENTS.format(version=tag) + (C_SHARP_ARCHIVE_DIR / "MyProj.csproj").write_text(project_contents, encoding="utf-8") + + +if __name__ == "__main__": + main() diff --git a/scripts/get_codeql_languages.py b/scripts/get_codeql_languages.py index 038b88bfb..c0e21f286 100644 --- a/scripts/get_codeql_languages.py +++ b/scripts/get_codeql_languages.py @@ -22,7 +22,7 @@ class LanguageInfo: "scripts/*.py": LanguageInfo(language="python"), "archive/c/c/*.c": LanguageInfo(language="c", build_mode="manual"), "archive/c/c-plus-plus/*.cpp": LanguageInfo(language="cpp", build_mode="manual"), - "archive/c/c-sharp/*.cs": LanguageInfo(language="c#"), + "archive/c/c-sharp/*.cs": LanguageInfo(language="c#", build_mode="autobuild"), "archive/g/go/*.go": LanguageInfo(language="go", build_mode="autobuild"), "archive/j/java/*.java": LanguageInfo(language="java", build_mode="manual"), "archive/j/javascript/*.js": LanguageInfo(language="javascript"), From 8bb9a4d93ebcb1fd18703c52e9e12ff2d4ddad6f Mon Sep 17 00:00:00 2001 From: rzuckerm Date: Mon, 25 May 2026 10:00:02 -0500 Subject: [PATCH 04/11] Need to run through poetry --- .github/workflows/codeql-analysis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index 49558eac5..32a22cf88 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -157,7 +157,7 @@ jobs: # Set up C# for scanning. - name: Set up C# if: ${{ matrix.language == 'c#' }} - run: python scripts/generate_c_sharp_project_file.py + run: poetry run python scripts/generate_c_sharp_project_file.py # Workaround for Kotlin scanning. - name: Set up Kotlin From 4f0d8ccde3c5824eafe33841b5414621241c11e1 Mon Sep 17 00:00:00 2001 From: rzuckerm Date: Mon, 25 May 2026 10:11:25 -0500 Subject: [PATCH 05/11] Try Copilot recommendation --- scripts/generate_c_sharp_project_file.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/scripts/generate_c_sharp_project_file.py b/scripts/generate_c_sharp_project_file.py index 96d1a2114..96519d190 100644 --- a/scripts/generate_c_sharp_project_file.py +++ b/scripts/generate_c_sharp_project_file.py @@ -12,6 +12,11 @@ enable true + + + + + """ From c939c4f664bb48b20bbdc3123699062982ec659c Mon Sep 17 00:00:00 2001 From: rzuckerm Date: Mon, 25 May 2026 11:44:51 -0500 Subject: [PATCH 06/11] Use rzuckerm/action-simple-yaml-reader to read YAML file --- .github/workflows/codeql-analysis.yml | 6 +++--- .github/workflows/pr-labeler.yml | 6 +++--- .github/workflows/readme.yml | 6 +++--- .github/workflows/test-suite.yml | 8 ++++---- 4 files changed, 13 insertions(+), 13 deletions(-) diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index 32a22cf88..676812766 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -136,7 +136,7 @@ jobs: fetch-depth: 2 - name: Read repo config - uses: pietrobolcato/action-read-yaml@1.1.0 + uses: rzuckerm/action-simple-yaml-reader@main id: repo-config with: config: repo-config.yml @@ -144,12 +144,12 @@ jobs: - name: Set up Python uses: actions/setup-python@v6 with: - python-version: "${{ steps.repo-config.outputs['python-version'] }}" + python-version: "${{ steps.repo-config.outputs.python-version }}" - name: Run Poetry Image uses: abatilo/actions-poetry@v4 with: - poetry-version: "${{ steps.repo-config.outputs['poetry-version'] }}" + poetry-version: "${{ steps.repo-config.outputs.poetry-version }}" - name: Install Dependencies run: poetry install diff --git a/.github/workflows/pr-labeler.yml b/.github/workflows/pr-labeler.yml index d896cb18d..442c2d5cb 100644 --- a/.github/workflows/pr-labeler.yml +++ b/.github/workflows/pr-labeler.yml @@ -19,7 +19,7 @@ jobs: fetch-depth: 2 - name: Read repo config - uses: pietrobolcato/action-read-yaml@1.1.0 + uses: rzuckerm/action-simple-yaml-reader@main id: repo-config with: config: repo-config.yml @@ -27,12 +27,12 @@ jobs: - name: Set up Python uses: actions/setup-python@v6 with: - python-version: "${{ steps.repo-config.outputs['python-version'] }}" + python-version: "${{ steps.repo-config.outputs.python-version }}" - name: Run Poetry Image uses: abatilo/actions-poetry@v4 with: - poetry-version: "${{ steps.repo-config.outputs['poetry-version'] }}" + poetry-version: "${{ steps.repo-config.outputs.poetry-version }}" - name: Install Dependencies run: poetry install diff --git a/.github/workflows/readme.yml b/.github/workflows/readme.yml index 51394511d..921f13404 100644 --- a/.github/workflows/readme.yml +++ b/.github/workflows/readme.yml @@ -33,7 +33,7 @@ jobs: - uses: actions/checkout@v6 - name: Read repo config - uses: pietrobolcato/action-read-yaml@1.1.0 + uses: rzuckerm/action-simple-yaml-reader@main id: repo-config with: config: repo-config.yml @@ -41,12 +41,12 @@ jobs: - name: Set up Python uses: actions/setup-python@v6 with: - python-version: "${{ steps.repo-config.outputs['python-version'] }}" + python-version: "${{ steps.repo-config.outputs.python-version }}" - name: Run Poetry Image uses: abatilo/actions-poetry@v4 with: - poetry-version: "${{ steps.repo-config.outputs['poetry-version'] }}" + poetry-version: "${{ steps.repo-config.outputs.poetry-version }}" - name: Install Dependencies run: poetry install diff --git a/.github/workflows/test-suite.yml b/.github/workflows/test-suite.yml index 1b4ea059a..2cf0f96ba 100644 --- a/.github/workflows/test-suite.yml +++ b/.github/workflows/test-suite.yml @@ -84,7 +84,7 @@ jobs: fetch-depth: 2 - name: Read repo config - uses: pietrobolcato/action-read-yaml@1.1.0 + uses: rzuckerm/action-simple-yaml-reader@main id: repo-config with: config: repo-config.yml @@ -92,12 +92,12 @@ jobs: - name: Set up Python uses: actions/setup-python@v6 with: - python-version: "${{ steps.repo-config.outputs['python-version'] }}" + python-version: "${{ steps.repo-config.outputs.python-version }}" - name: Run Poetry Image uses: abatilo/actions-poetry@v4 with: - poetry-version: "${{ steps.repo-config.outputs['poetry-version'] }}" + poetry-version: "${{ steps.repo-config.outputs.poetry-version }}" - name: Install Dependencies run: poetry install @@ -108,7 +108,7 @@ jobs: - name: Download Docker images, Test Appropriate Sample Programs, Remove Docker Images run: poetry run python scripts/run_tests.py --event ${{ github.event_name }} - --num-batches ${{ steps.repo-config.outputs['num-batches'] }} + --num-batches ${{ steps.repo-config.outputs.num-batches }} --parallel --remove ${{ needs.changed-files.outputs.changed_files }} From c0a37adfd58790032fda954137a3a91781f3747a Mon Sep 17 00:00:00 2001 From: rzuckerm Date: Mon, 25 May 2026 12:05:51 -0500 Subject: [PATCH 07/11] Change '-' to '_' for action variable names --- .github/workflows/codeql-analysis.yml | 4 ++-- .github/workflows/pr-labeler.yml | 4 ++-- .github/workflows/readme.yml | 4 ++-- .github/workflows/test-suite.yml | 6 +++--- 4 files changed, 9 insertions(+), 9 deletions(-) diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index 676812766..3e0b4d8e5 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -144,12 +144,12 @@ jobs: - name: Set up Python uses: actions/setup-python@v6 with: - python-version: "${{ steps.repo-config.outputs.python-version }}" + python_version: "${{ steps.repo-config.outputs.python_version }}" - name: Run Poetry Image uses: abatilo/actions-poetry@v4 with: - poetry-version: "${{ steps.repo-config.outputs.poetry-version }}" + poetry_version: "${{ steps.repo-config.outputs.poetry_version }}" - name: Install Dependencies run: poetry install diff --git a/.github/workflows/pr-labeler.yml b/.github/workflows/pr-labeler.yml index 442c2d5cb..86fd3c3fe 100644 --- a/.github/workflows/pr-labeler.yml +++ b/.github/workflows/pr-labeler.yml @@ -27,12 +27,12 @@ jobs: - name: Set up Python uses: actions/setup-python@v6 with: - python-version: "${{ steps.repo-config.outputs.python-version }}" + python_version: "${{ steps.repo-config.outputs.python_version }}" - name: Run Poetry Image uses: abatilo/actions-poetry@v4 with: - poetry-version: "${{ steps.repo-config.outputs.poetry-version }}" + poetry_version: "${{ steps.repo-config.outputs.poetry_version }}" - name: Install Dependencies run: poetry install diff --git a/.github/workflows/readme.yml b/.github/workflows/readme.yml index 921f13404..87f75471a 100644 --- a/.github/workflows/readme.yml +++ b/.github/workflows/readme.yml @@ -41,12 +41,12 @@ jobs: - name: Set up Python uses: actions/setup-python@v6 with: - python-version: "${{ steps.repo-config.outputs.python-version }}" + python_version: "${{ steps.repo-config.outputs.python_version }}" - name: Run Poetry Image uses: abatilo/actions-poetry@v4 with: - poetry-version: "${{ steps.repo-config.outputs.poetry-version }}" + poetry_version: "${{ steps.repo-config.outputs.poetry_version }}" - name: Install Dependencies run: poetry install diff --git a/.github/workflows/test-suite.yml b/.github/workflows/test-suite.yml index 2cf0f96ba..c7232f933 100644 --- a/.github/workflows/test-suite.yml +++ b/.github/workflows/test-suite.yml @@ -92,12 +92,12 @@ jobs: - name: Set up Python uses: actions/setup-python@v6 with: - python-version: "${{ steps.repo-config.outputs.python-version }}" + python_version: "${{ steps.repo-config.outputs.python_version }}" - name: Run Poetry Image uses: abatilo/actions-poetry@v4 with: - poetry-version: "${{ steps.repo-config.outputs.poetry-version }}" + poetry_version: "${{ steps.repo-config.outputs.poetry_version }}" - name: Install Dependencies run: poetry install @@ -108,7 +108,7 @@ jobs: - name: Download Docker images, Test Appropriate Sample Programs, Remove Docker Images run: poetry run python scripts/run_tests.py --event ${{ github.event_name }} - --num-batches ${{ steps.repo-config.outputs.num-batches }} + --num_batches ${{ steps.repo-config.outputs.num_batches }} --parallel --remove ${{ needs.changed-files.outputs.changed_files }} From c26857dfb80c461a922dca3b2baff09650a2dfd2 Mon Sep 17 00:00:00 2001 From: rzuckerm Date: Mon, 25 May 2026 14:06:16 -0500 Subject: [PATCH 08/11] Use Elisity/action-read-yaml instead --- .github/workflows/codeql-analysis.yml | 6 +++--- .github/workflows/pr-labeler.yml | 6 +++--- .github/workflows/readme.yml | 6 +++--- .github/workflows/test-suite.yml | 20 ++++++++++---------- 4 files changed, 19 insertions(+), 19 deletions(-) diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index 3e0b4d8e5..e271c5492 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -136,7 +136,7 @@ jobs: fetch-depth: 2 - name: Read repo config - uses: rzuckerm/action-simple-yaml-reader@main + uses: Elisity/action-read-yaml@v0.2 id: repo-config with: config: repo-config.yml @@ -144,12 +144,12 @@ jobs: - name: Set up Python uses: actions/setup-python@v6 with: - python_version: "${{ steps.repo-config.outputs.python_version }}" + python-version: "${{ steps.repo-config.outputs['python-version'] }}" - name: Run Poetry Image uses: abatilo/actions-poetry@v4 with: - poetry_version: "${{ steps.repo-config.outputs.poetry_version }}" + poetry-version: "${{ steps.repo-config.outputs['poetry-version'] }}" - name: Install Dependencies run: poetry install diff --git a/.github/workflows/pr-labeler.yml b/.github/workflows/pr-labeler.yml index 86fd3c3fe..47905c284 100644 --- a/.github/workflows/pr-labeler.yml +++ b/.github/workflows/pr-labeler.yml @@ -19,7 +19,7 @@ jobs: fetch-depth: 2 - name: Read repo config - uses: rzuckerm/action-simple-yaml-reader@main + uses: Elisity/action-read-yaml@v0.2 id: repo-config with: config: repo-config.yml @@ -27,12 +27,12 @@ jobs: - name: Set up Python uses: actions/setup-python@v6 with: - python_version: "${{ steps.repo-config.outputs.python_version }}" + python-version: "${{ steps.repo-config.outputs['python-version'] }}" - name: Run Poetry Image uses: abatilo/actions-poetry@v4 with: - poetry_version: "${{ steps.repo-config.outputs.poetry_version }}" + poetry-version: "${{ steps.repo-config.outputs['poetry-version'] }}" - name: Install Dependencies run: poetry install diff --git a/.github/workflows/readme.yml b/.github/workflows/readme.yml index 87f75471a..8d8713c0b 100644 --- a/.github/workflows/readme.yml +++ b/.github/workflows/readme.yml @@ -33,7 +33,7 @@ jobs: - uses: actions/checkout@v6 - name: Read repo config - uses: rzuckerm/action-simple-yaml-reader@main + uses: Elisity/action-read-yaml@v0.2 id: repo-config with: config: repo-config.yml @@ -41,12 +41,12 @@ jobs: - name: Set up Python uses: actions/setup-python@v6 with: - python_version: "${{ steps.repo-config.outputs.python_version }}" + python-version: "${{ steps.repo-config.outputs['python-version'] }}" - name: Run Poetry Image uses: abatilo/actions-poetry@v4 with: - poetry_version: "${{ steps.repo-config.outputs.poetry_version }}" + poetry-version: "${{ steps.repo-config.outputs['poetry-version'] }}" - name: Install Dependencies run: poetry install diff --git a/.github/workflows/test-suite.yml b/.github/workflows/test-suite.yml index c7232f933..3d83af6fa 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.any_changed }} - changed_files: ${{ steps.changed-files.outputs.all_changed_files }} + status: ${{ steps.changed-files.outputs.exists }} + changed_files: ${{ steps.changed-files.outputs.files }} steps: - uses: actions/checkout@v6 with: @@ -41,9 +41,9 @@ jobs: - name: Get changed code files id: changed-files - uses: tj-actions/changed-files@934b2d2c7e653bb8c968afed5a0428617f09aa24 + uses: yumemi-inc/changed-files@v3 with: - files: | + patterns: | archive/** .glotter.yml repo-config.yml @@ -54,9 +54,9 @@ jobs: !**/*.md - name: List all relevant changed files - if: steps.changed-files.outputs.any_changed == 'true' + if: steps.changed-files.outputs.exists == 'true' env: - ALL_CHANGED_FILES: ${{ steps.changed-files.outputs.all_changed_files }} + ALL_CHANGED_FILES: ${{ steps.changed-files.outputs.files }} run: | for file in ${ALL_CHANGED_FILES}; do echo "$file was changed" @@ -84,7 +84,7 @@ jobs: fetch-depth: 2 - name: Read repo config - uses: rzuckerm/action-simple-yaml-reader@main + uses: Elisity/action-read-yaml@v0.2 id: repo-config with: config: repo-config.yml @@ -92,12 +92,12 @@ jobs: - name: Set up Python uses: actions/setup-python@v6 with: - python_version: "${{ steps.repo-config.outputs.python_version }}" + python-version: "${{ steps.repo-config.outputs['python-version'] }}" - name: Run Poetry Image uses: abatilo/actions-poetry@v4 with: - poetry_version: "${{ steps.repo-config.outputs.poetry_version }}" + poetry-version: "${{ steps.repo-config.outputs['poetry-version'] }}" - name: Install Dependencies run: poetry install @@ -108,7 +108,7 @@ jobs: - name: Download Docker images, Test Appropriate Sample Programs, Remove Docker Images run: poetry run python scripts/run_tests.py --event ${{ github.event_name }} - --num_batches ${{ steps.repo-config.outputs.num_batches }} + --num-batches ${{ steps.repo-config.outputs['num-batches'] }} --parallel --remove ${{ needs.changed-files.outputs.changed_files }} From 019b6a85f7e84ef9a54edc2a68f4baa103701ab3 Mon Sep 17 00:00:00 2001 From: rzuckerm Date: Mon, 25 May 2026 14:59:32 -0500 Subject: [PATCH 09/11] Forgot to convert test-suite.yml --- .github/workflows/codeql-analysis.yml | 2 +- .github/workflows/test-suite.yml | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index e271c5492..41af27582 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -95,7 +95,7 @@ jobs: - name: Get changed code files id: changed-files - uses: tj-actions/changed-files@934b2d2c7e653bb8c968afed5a0428617f09aa24 + uses: tj-actions/changed-files@9426d40962ed5378910ee2e21d5f8c6fcbf2dd96 # v47.0.6 - name: List all relevant changed files if: steps.changed-files.outputs.any_changed == 'true' diff --git a/.github/workflows/test-suite.yml b/.github/workflows/test-suite.yml index 3d83af6fa..0bcb4b6f9 100644 --- a/.github/workflows/test-suite.yml +++ b/.github/workflows/test-suite.yml @@ -41,9 +41,9 @@ jobs: - name: Get changed code files id: changed-files - uses: yumemi-inc/changed-files@v3 + uses: tj-actions/changed-files@9426d40962ed5378910ee2e21d5f8c6fcbf2dd96 # v47.0.6 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" From 86f582b787d78b188e10f31e6a10977196b4ab29 Mon Sep 17 00:00:00 2001 From: rzuckerm Date: Mon, 25 May 2026 15:04:52 -0500 Subject: [PATCH 10/11] Fixed incorrect variable names in test-suite.yml --- .github/workflows/test-suite.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test-suite.yml b/.github/workflows/test-suite.yml index 0bcb4b6f9..1c614ecd8 100644 --- a/.github/workflows/test-suite.yml +++ b/.github/workflows/test-suite.yml @@ -33,7 +33,7 @@ jobs: outputs: status: ${{ steps.changed-files.outputs.exists }} - changed_files: ${{ steps.changed-files.outputs.files }} + changed_files: ${{ steps.changed-files.outputs.all_changed_files }} steps: - uses: actions/checkout@v6 with: @@ -111,7 +111,7 @@ jobs: --num-batches ${{ steps.repo-config.outputs['num-batches'] }} --parallel --remove - ${{ needs.changed-files.outputs.changed_files }} + ${{ needs.changed-files.outputs.all_changed_files }} # Because testing uses a matrix, we need this job for branch protections test-results: From 46b5f135e7046b49d2ef895ba28cecf381adcb17 Mon Sep 17 00:00:00 2001 From: rzuckerm Date: Mon, 25 May 2026 15:27:36 -0500 Subject: [PATCH 11/11] Fixed variable name in test-suite.yml again --- .github/workflows/test-suite.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test-suite.yml b/.github/workflows/test-suite.yml index 1c614ecd8..f1ac4829e 100644 --- a/.github/workflows/test-suite.yml +++ b/.github/workflows/test-suite.yml @@ -32,7 +32,7 @@ jobs: runs-on: ubuntu-latest outputs: - status: ${{ steps.changed-files.outputs.exists }} + status: ${{ steps.changed-files.outputs.any_changed }} changed_files: ${{ steps.changed-files.outputs.all_changed_files }} steps: - uses: actions/checkout@v6 @@ -111,7 +111,7 @@ jobs: --num-batches ${{ steps.repo-config.outputs['num-batches'] }} --parallel --remove - ${{ needs.changed-files.outputs.all_changed_files }} + ${{ needs.changed-files.outputs.changed_files }} # Because testing uses a matrix, we need this job for branch protections test-results: