Sfoglia il codice sorgente

chore(lint): fix Super Linter errors on develop (#5001)

- Make .github/scripts/sync-game-labels.sh executable (BASH_EXEC).
- Don't check indent width in Markdown: list continuation lines are
  indented to the list marker (3 spaces for "1. "), as Prettier formats
  them (EDITORCONFIG, CODE_OF_CONDUCT.md).
- Quote $shortnames in the Details Check targeted-server step (actionlint
  SC2086). The file content is unchanged.
Daniel Gibbs 1 settimana fa
parent
commit
00960d857b
2 ha cambiato i file con 5 aggiunte e 1 eliminazioni
  1. 4 0
      .editorconfig
  2. 1 1
      .github/scripts/sync-game-labels.sh

+ 4 - 0
.editorconfig

@@ -30,3 +30,7 @@ indent_size = 4
 [*.py]
 indent_style = space
 indent_size = 4
+
+# Markdown Files
+[*.md]
+indent_size = unset

+ 1 - 1
.github/scripts/sync-game-labels.sh

@@ -63,7 +63,7 @@ jobs:
             else
               echo "Targeted servers: $shortnames"
               echo "mode=targeted" >> "$GITHUB_OUTPUT"
-              printf '%s\n' $shortnames > targeted_shortnames.txt
+              echo "$shortnames" > targeted_shortnames.txt
             fi
           fi