From 2986397120ca485ad062fc467f07260954aab69f Mon Sep 17 00:00:00 2001 From: Aaron Bull Schaefer Date: Wed, 18 Feb 2026 12:42:20 -0800 Subject: [PATCH] Avoid GitHub Actions env var collision in changed-files summary GITHUB_ACTIONS is always set to true in CI. See: - https://docs.github.com/en/actions/reference/workflows-and-actions/variables --- .github/workflows/detect-changed-files.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/detect-changed-files.yml b/.github/workflows/detect-changed-files.yml index 0976362..6e66ad2 100644 --- a/.github/workflows/detect-changed-files.yml +++ b/.github/workflows/detect-changed-files.yml @@ -84,8 +84,8 @@ jobs: ADDED_OR_MODIFIED_FILES: ${{ steps.filter.outputs.added_or_modified_files }} FLUTTER: ${{ steps.filter.outputs.flutter }} FLUTTER_FILES: ${{ steps.filter.outputs.flutter_files }} - GITHUB_ACTIONS: ${{ steps.filter.outputs.github_actions }} - GITHUB_ACTIONS_FILES: ${{ steps.filter.outputs.github_actions_files }} + GH_ACTIONS: ${{ steps.filter.outputs.github_actions }} + GH_ACTIONS_FILES: ${{ steps.filter.outputs.github_actions_files }} MARKDOWN: ${{ steps.filter.outputs.markdown }} MARKDOWN_FILES: ${{ steps.filter.outputs.markdown_files }} RUST: ${{ steps.filter.outputs.rust }} @@ -125,7 +125,7 @@ jobs: echo "### :mag: Changed file categories" >>"$GITHUB_STEP_SUMMARY" emit_category "Any tracked files" "${ADDED_OR_MODIFIED}" "${ADDED_OR_MODIFIED_FILES}" emit_category "Flutter" "${FLUTTER}" "${FLUTTER_FILES}" - emit_category "GitHub Actions" "${GITHUB_ACTIONS}" "${GITHUB_ACTIONS_FILES}" + emit_category "GitHub Actions" "${GH_ACTIONS}" "${GH_ACTIONS_FILES}" emit_category "Markdown" "${MARKDOWN}" "${MARKDOWN_FILES}" emit_category "Rust" "${RUST}" "${RUST_FILES}" emit_category "Zig" "${ZIG}" "${ZIG_FILES}"