Title: Lint GitHub Actions and Dependabot by hugovk · Pull Request #126002 · python/cpython · GitHub
Open Graph Title: Lint GitHub Actions and Dependabot by hugovk · Pull Request #126002 · python/cpython
X Title: Lint GitHub Actions and Dependabot by hugovk · Pull Request #126002 · python/cpython
Description: Extra linting Add extra linting of GitHub Actions and Dependabot config files. check-dependabot and check-github-workflows don't currently have any warnings. actionlint has lots. Here are all the warnings without fixes or ignores: Details .github/workflows/reusable-wasi.yml:46:7: shellcheck reported issue in this script: SC2086:info:1:38: Double quote to prevent globbing and word splitting [shellcheck] | 46 | run: echo "PATH=/usr/lib/ccache:$PATH" >> $GITHUB_ENV | ^~~~ .github/workflows/reusable-change-detection.yml:66:7: shellcheck reported issue in this script: SC2086:info:2:28: Double quote to prevent globbing and word splitting [shellcheck] | 66 | run: | | ^~~~ .github/workflows/reusable-change-detection.yml:66:7: shellcheck reported issue in this script: SC2086:info:4:20: Double quote to prevent globbing and word splitting [shellcheck] | 66 | run: | | ^~~~ .github/workflows/reusable-change-detection.yml:66:7: shellcheck reported issue in this script: SC2086:info:18:31: Double quote to prevent globbing and word splitting [shellcheck] | 66 | run: | | ^~~~ .github/workflows/reusable-change-detection.yml:66:7: shellcheck reported issue in this script: SC2015:info:18:143: Note that A && B || C is not if-then-else. C may run when A is true [shellcheck] | 66 | run: | | ^~~~ .github/workflows/reusable-change-detection.yml:66:7: shellcheck reported issue in this script: SC2086:info:18:171: Double quote to prevent globbing and word splitting [shellcheck] | 66 | run: | | ^~~~ .github/workflows/reusable-change-detection.yml:66:7: shellcheck reported issue in this script: SC2086:info:23:6: Double quote to prevent globbing and word splitting [shellcheck] | 66 | run: | | ^~~~ .github/workflows/reusable-change-detection.yml:66:7: shellcheck reported issue in this script: SC2091:warning:24:4: Remove surrounding $() to avoid executing output (or use eval if intentional) [shellcheck] | 66 | run: | | ^~~~ .github/workflows/reusable-change-detection.yml:66:7: shellcheck reported issue in this script: SC2086:info:26:34: Double quote to prevent globbing and word splitting [shellcheck] | 66 | run: | | ^~~~ .github/workflows/reusable-change-detection.yml:66:7: shellcheck reported issue in this script: SC2086:info:29:33: Double quote to prevent globbing and word splitting [shellcheck] | 66 | run: | | ^~~~ .github/workflows/reusable-change-detection.yml:66:7: shellcheck reported issue in this script: SC2086:info:37:72: Double quote to prevent globbing and word splitting [shellcheck] | 66 | run: | | ^~~~ .github/workflows/reusable-change-detection.yml:66:7: shellcheck reported issue in this script: SC2086:info:41:29: Double quote to prevent globbing and word splitting [shellcheck] | 66 | run: | | ^~~~ .github/workflows/reusable-change-detection.yml:66:7: shellcheck reported issue in this script: SC2086:info:44:30: Double quote to prevent globbing and word splitting [shellcheck] | 66 | run: | | ^~~~ .github/workflows/reusable-change-detection.yml:114:7: shellcheck reported issue in this script: SC2086:info:1:93: Double quote to prevent globbing and word splitting [shellcheck] | 114 | run: | | ^~~~ .github/workflows/reusable-ubuntu.yml:36:7: shellcheck reported issue in this script: SC2129:style:1:1: Consider using { cmd1; cmd2; } >> file instead of individual redirects [shellcheck] | 36 | run: | | ^~~~ .github/workflows/reusable-ubuntu.yml:36:7: shellcheck reported issue in this script: SC2086:info:1:53: Double quote to prevent globbing and word splitting [shellcheck] | 36 | run: | | ^~~~ .github/workflows/reusable-ubuntu.yml:36:7: shellcheck reported issue in this script: SC2086:info:2:75: Double quote to prevent globbing and word splitting [shellcheck] | 36 | run: | | ^~~~ .github/workflows/reusable-ubuntu.yml:36:7: shellcheck reported issue in this script: SC2086:info:3:83: Double quote to prevent globbing and word splitting [shellcheck] | 36 | run: | | ^~~~ .github/workflows/reusable-ubuntu.yml:48:7: shellcheck reported issue in this script: SC2086:info:1:69: Double quote to prevent globbing and word splitting [shellcheck] | 48 | run: python3 Tools/ssl/multissltests.py --steps=library --base-directory $MULTISSL_DIR --openssl $OPENSSL_VER --system Linux | ^~~~ .github/workflows/reusable-ubuntu.yml:48:7: shellcheck reported issue in this script: SC2086:info:1:93: Double quote to prevent globbing and word splitting [shellcheck] | 48 | run: python3 Tools/ssl/multissltests.py --steps=library --base-directory $MULTISSL_DIR --openssl $OPENSSL_VER --system Linux | ^~~~ .github/workflows/reusable-ubuntu.yml:50:7: shellcheck reported issue in this script: SC2086:info:1:38: Double quote to prevent globbing and word splitting [shellcheck] | 50 | run: | | ^~~~ .github/workflows/reusable-ubuntu.yml:58:7: shellcheck reported issue in this script: SC2086:info:1:39: Double quote to prevent globbing and word splitting [shellcheck] | 58 | run: | | ^~~~ .github/workflows/reusable-ubuntu.yml:58:7: shellcheck reported issue in this script: SC2086:info:1:85: Double quote to prevent globbing and word splitting [shellcheck] | 58 | run: | | ^~~~ .github/workflows/reusable-ubuntu.yml:58:7: shellcheck reported issue in this script: SC2086:info:2:38: Double quote to prevent globbing and word splitting [shellcheck] | 58 | run: | | ^~~~ .github/workflows/reusable-ubuntu.yml:58:7: shellcheck reported issue in this script: SC2086:info:2:83: Double quote to prevent globbing and word splitting [shellcheck] | 58 | run: | | ^~~~ .github/workflows/reusable-ubuntu.yml:62:7: shellcheck reported issue in this script: SC2086:info:1:10: Double quote to prevent globbing and word splitting [shellcheck] | 62 | run: mkdir -p $CPYTHON_RO_SRCDIR $CPYTHON_BUILDDIR | ^~~~ .github/workflows/reusable-ubuntu.yml:62:7: shellcheck reported issue in this script: SC2086:info:1:29: Double quote to prevent globbing and word splitting [shellcheck] | 62 | run: mkdir -p $CPYTHON_RO_SRCDIR $CPYTHON_BUILDDIR | ^~~~ .github/workflows/reusable-ubuntu.yml:64:7: shellcheck reported issue in this script: SC2086:info:1:25: Double quote to prevent globbing and word splitting [shellcheck] | 64 | run: sudo mount --bind -o ro $GITHUB_WORKSPACE $CPYTHON_RO_SRCDIR | ^~~~ .github/workflows/reusable-ubuntu.yml:64:7: shellcheck reported issue in this script: SC2086:info:1:43: Double quote to prevent globbing and word splitting [shellcheck] | 64 | run: sudo mount --bind -o ro $GITHUB_WORKSPACE $CPYTHON_RO_SRCDIR | ^~~~ .github/workflows/reusable-ubuntu.yml:66:7: shellcheck reported issue in this script: SC2086:info:1:41: Double quote to prevent globbing and word splitting [shellcheck] | 66 | run: echo "IMAGE_VERSION=${ImageVersion}" >> $GITHUB_ENV | ^~~~ .github/workflows/reusable-ubuntu.yml:74:7: shellcheck reported issue in this script: SC2086:info:1:116: Double quote to prevent globbing and word splitting [shellcheck] | 74 | run: >- | ^~~~ .github/workflows/reusable-ubuntu.yml:74:153: 1st argument of function call is not assignable. "bool" cannot be assigned to "string". called function type is "fromJSON(string) -> any" [expression] .github/workflows/reusable-ubuntu.yml:95:7: shellcheck reported issue in this script: SC2086:info:1:148: Double quote to prevent globbing and word splitting [shellcheck] | 95 | run: >- | ^~~~ .github/workflows/reusable-ubuntu.yml:105:7: shellcheck reported issue in this script: SC2086:info:1:12: Double quote to prevent globbing and word splitting [shellcheck] | 105 | run: sudo mount $CPYTHON_RO_SRCDIR -oremount,rw | ^~~~ .github/workflows/reusable-tsan.yml:29:7: shellcheck reported issue in this script: SC2086:info:1:41: Double quote to prevent globbing and word splitting [shellcheck] | 29 | run: echo "IMAGE_VERSION=${ImageVersion}" >> $GITHUB_ENV | ^~~~ .github/workflows/reusable-tsan.yml:49:7: shellcheck reported issue in this script: SC2129:style:1:1: Consider using { cmd1; cmd2; } >> file instead of individual redirects [shellcheck] | 49 | run: | | ^~~~ .github/workflows/reusable-tsan.yml:49:7: shellcheck reported issue in this script: SC2086:info:1:141: Double quote to prevent globbing and word splitting [shellcheck] | 49 | run: | | ^~~~ .github/workflows/reusable-tsan.yml:49:7: shellcheck reported issue in this script: SC2086:info:2:20: Double quote to prevent globbing and word splitting [shellcheck] | 49 | run: | | ^~~~ .github/workflows/reusable-tsan.yml:49:7: shellcheck reported issue in this script: SC2086:info:3:23: Double quote to prevent globbing and word splitting [shellcheck] | 49 | run: | | ^~~~ .github/workflows/reusable-tsan.yml:54:7: shellcheck reported issue in this script: SC2086:info:1:38: Double quote to prevent globbing and word splitting [shellcheck] | 54 | run: | | ^~~~ .github/workflows/reusable-tsan.yml:71:7: shellcheck reported issue in this script: SC2038:warning:1:1: Use 'find .. -print0 | xargs -0 ..' or 'find .. -exec .. +' to allow non-alphanumeric filenames [shellcheck] | 71 | run: find ${GITHUB_WORKSPACE} -name 'tsan_log.*' | xargs head -n 1000 | ^~~~ .github/workflows/reusable-tsan.yml:71:7: shellcheck reported issue in this script: SC2086:info:1:6: Double quote to prevent globbing and word splitting [shellcheck] | 71 | run: find ${GITHUB_WORKSPACE} -name 'tsan_log.*' | xargs head -n 1000 | ^~~~ .github/workflows/reusable-macos.yml:33:7: shellcheck reported issue in this script: SC2086:info:1:41: Double quote to prevent globbing and word splitting [shellcheck] | 33 | run: echo "IMAGE_VERSION=${ImageVersion}" >> $GITHUB_ENV | ^~~~ .github/workflows/build.yml:62:9: shellcheck reported issue in this script: SC2086:info:1:41: Double quote to prevent globbing and word splitting [shellcheck] | 62 | run: echo "IMAGE_VERSION=${ImageVersion}" >> $GITHUB_ENV | ^~~~ .github/workflows/build.yml:101:9: shellcheck reported issue in this script: SC2086:info:1:41: Double quote to prevent globbing and word splitting [shellcheck] | 101 | run: echo "IMAGE_VERSION=${ImageVersion}" >> $GITHUB_ENV | ^~~~ .github/workflows/build.yml:111:9: shellcheck reported issue in this script: SC2086:info:1:38: Double quote to prevent globbing and word splitting [shellcheck] | 111 | run: echo "PATH=/usr/lib/ccache:$PATH" >> $GITHUB_ENV | ^~~~ .github/workflows/build.yml:147:32: 1st argument of function call is not assignable. "bool" cannot be assigned to "string". called function type is "fromJSON(string) -> any" [expression] .github/workflows/build.yml:182:30: 1st argument of function call is not assignable. "bool" cannot be assigned to "string". called function type is "fromJSON(string) -> any" [expression] .github/workflows/build.yml:216:31: 1st argument of function call is not assignable. "bool" cannot be assigned to "string". called function type is "fromJSON(string) -> any" [expression] .github/workflows/build.yml:250:7: shellcheck reported issue in this script: SC2086:info:1:41: Double quote to prevent globbing and word splitting [shellcheck] | 250 | run: echo "IMAGE_VERSION=${ImageVersion}" >> $GITHUB_ENV | ^~~~ .github/workflows/build.yml:261:7: shellcheck reported issue in this script: SC2129:style:1:1: Consider using { cmd1; cmd2; } >> file instead of individual redirects [shellcheck] | 261 | run: | | ^~~~ .github/workflows/build.yml:261:7: shellcheck reported issue in this script: SC2086:info:1:53: Double quote to prevent globbing and word splitting [shellcheck] | 261 | run: | | ^~~~ .github/workflows/build.yml:261:7: shellcheck reported issue in this script: SC2086:info:2:75: Double quote to prevent globbing and word splitting [shellcheck] | 261 | run: | | ^~~~ .github/workflows/build.yml:261:7: shellcheck reported issue in this script: SC2086:info:3:83: Double quote to prevent globbing and word splitting [shellcheck] | 261 | run: | | ^~~~ .github/workflows/build.yml:273:7: shellcheck reported issue in this script: SC2086:info:1:69: Double quote to prevent globbing and word splitting [shellcheck] | 273 | run: python3 Tools/ssl/multissltests.py --steps=library --base-directory $MULTISSL_DIR --openssl $OPENSSL_VER --system Linux | ^~~~ .github/workflows/build.yml:273:7: shellcheck reported issue in this script: SC2086:info:1:93: Double quote to prevent globbing and word splitting [shellcheck] | 273 | run: python3 Tools/ssl/multissltests.py --steps=library --base-directory $MULTISSL_DIR --openssl $OPENSSL_VER --system Linux | ^~~~ .github/workflows/build.yml:275:7: shellcheck reported issue in this script: SC2086:info:1:38: Double quote to prevent globbing and word splitting [shellcheck] | 275 | run: | | ^~~~ .github/workflows/build.yml:282:7: shellcheck reported issue in this script: SC2086:info:1:116: Double quote to prevent globbing and word splitting [shellcheck] | 282 | run: ./configure CFLAGS="-fdiagnostics-format=json" --config-cache --enable-slower-safety --with-pydebug --with-openssl=$OPENSSL_DIR | ^~~~ .github/workflows/build.yml:314:7: shellcheck reported issue in this script: SC2129:style:1:1: Consider using { cmd1; cmd2; } >> file instead of individual redirects [shellcheck] | 314 | run: | | ^~~~ .github/workflows/build.yml:314:7: shellcheck reported issue in this script: SC2086:info:1:53: Double quote to prevent globbing and word splitting [shellcheck] | 314 | run: | | ^~~~ .github/workflows/build.yml:314:7: shellcheck reported issue in this script: SC2086:info:2:75: Double quote to prevent globbing and word splitting [shellcheck] | 314 | run: | | ^~~~ .github/workflows/build.yml:314:7: shellcheck reported issue in this script: SC2086:info:3:83: Double quote to prevent globbing and word splitting [shellcheck] | 314 | run: | | ^~~~ .github/workflows/build.yml:326:7: shellcheck reported issue in this script: SC2086:info:1:69: Double quote to prevent globbing and word splitting [shellcheck] | 326 | run: python3 Tools/ssl/multissltests.py --steps=library --base-directory $MULTISSL_DIR --openssl $OPENSSL_VER --system Linux | ^~~~ .github/workflows/build.yml:326:7: shellcheck reported issue in this script: SC2086:info:1:93: Double quote to prevent globbing and word splitting [shellcheck] | 326 | run: python3 Tools/ssl/multissltests.py --steps=library --base-directory $MULTISSL_DIR --openssl $OPENSSL_VER --system Linux | ^~~~ .github/workflows/build.yml:328:7: shellcheck reported issue in this script: SC2086:info:1:38: Double quote to prevent globbing and word splitting [shellcheck] | 328 | run: | | ^~~~ .github/workflows/build.yml:335:7: shellcheck reported issue in this script: SC2086:info:1:39: Double quote to prevent globbing and word splitting [shellcheck] | 335 | run: | | ^~~~ .github/workflows/build.yml:335:7: shellcheck reported issue in this script: SC2086:info:1:85: Double quote to prevent globbing and word splitting [shellcheck] | 335 | run: | | ^~~~ .github/workflows/build.yml:335:7: shellcheck reported issue in this script: SC2086:info:2:38: Double quote to prevent globbing and word splitting [shellcheck] | 335 | run: | | ^~~~ .github/workflows/build.yml:335:7: shellcheck reported issue in this script: SC2086:info:2:83: Double quote to prevent globbing and word splitting [shellcheck] | 335 | run: | | ^~~~ .github/workflows/build.yml:339:7: shellcheck reported issue in this script: SC2086:info:1:10: Double quote to prevent globbing and word splitting [shellcheck] | 339 | run: mkdir -p $CPYTHON_RO_SRCDIR $CPYTHON_BUILDDIR | ^~~~ .github/workflows/build.yml:339:7: shellcheck reported issue in this script: SC2086:info:1:29: Double quote to prevent globbing and word splitting [shellcheck] | 339 | run: mkdir -p $CPYTHON_RO_SRCDIR $CPYTHON_BUILDDIR | ^~~~ .github/workflows/build.yml:341:7: shellcheck reported issue in this script: SC2086:info:1:25: Double quote to prevent globbing and word splitting [shellcheck] | 341 | run: sudo mount --bind -o ro $GITHUB_WORKSPACE $CPYTHON_RO_SRCDIR | ^~~~ .github/workflows/build.yml:341:7: shellcheck reported issue in this script: SC2086:info:1:43: Double quote to prevent globbing and word splitting [shellcheck] | 341 | run: sudo mount --bind -o ro $GITHUB_WORKSPACE $CPYTHON_RO_SRCDIR | ^~~~ .github/workflows/build.yml:343:7: shellcheck reported issue in this script: SC2086:info:1:41: Double quote to prevent globbing and word splitting [shellcheck] | 343 | run: echo "IMAGE_VERSION=${ImageVersion}" >> $GITHUB_ENV | ^~~~ .github/workflows/build.yml:351:7: shellcheck reported issue in this script: SC2086:info:5:18: Double quote to prevent globbing and word splitting [shellcheck] | 351 | run: | | ^~~~ .github/workflows/build.yml:365:7: shellcheck reported issue in this script: SC2086:info:1:12: Double quote to prevent globbing and word splitting [shellcheck] | 365 | run: sudo mount $CPYTHON_RO_SRCDIR -oremount,rw | ^~~~ .github/workflows/build.yml:367:7: shellcheck reported issue in this script: SC2086:info:1:38: Double quote to prevent globbing and word splitting [shellcheck] | 367 | run: | | ^~~~ .github/workflows/build.yml:367:7: shellcheck reported issue in this script: SC2086:info:1:83: Double quote to prevent globbing and word splitting [shellcheck] | 367 | run: | | ^~~~ .github/workflows/build.yml:371:7: shellcheck reported issue in this script: SC2086:info:3:32: Double quote to prevent globbing and word splitting [shellcheck] | 371 | run: | | ^~~~ .github/workflows/build.yml:371:7: shellcheck reported issue in this script: SC2086:info:4:38: Double quote to prevent globbing and word splitting [shellcheck] | 371 | run: | | ^~~~ .github/workflows/build.yml:371:7: shellcheck reported issue in this script: SC2086:info:5:18: Double quote to prevent globbing and word splitting [shellcheck] | 371 | run: | | ^~~~ .github/workflows/build.yml:371:7: shellcheck reported issue in this script: SC2086:info:5:62: Double quote to prevent globbing and word splitting [shellcheck] | 371 | run: | | ^~~~ .github/workflows/build.yml:425:7: shellcheck reported issue in this script: SC2086:info:1:41: Double quote to prevent globbing and word splitting [shellcheck] | 425 | run: echo "IMAGE_VERSION=${ImageVersion}" >> $GITHUB_ENV | ^~~~ .github/workflows/build.yml:440:7: shellcheck reported issue in this script: SC2129:style:1:1: Consider using { cmd1; cmd2; } >> file instead of individual redirects [shellcheck] | 440 | run: | | ^~~~ .github/workflows/build.yml:440:7: shellcheck reported issue in this script: SC2086:info:1:53: Double quote to prevent globbing and word splitting [shellcheck] | 440 | run: | | ^~~~ .github/workflows/build.yml:440:7: shellcheck reported issue in this script: SC2086:info:2:75: Double quote to prevent globbing and word splitting [shellcheck] | 440 | run: | | ^~~~ .github/workflows/build.yml:440:7: shellcheck reported issue in this script: SC2086:info:3:83: Double quote to prevent globbing and word splitting [shellcheck] | 440 | run: | | ^~~~ .github/workflows/build.yml:449:18: property "os" is not defined in object type {} [expression] | 449 | key: ${{ matrix.os }}-multissl-openssl-${{ env.OPENSSL_VER }} | ^~~~~~~~~ .github/workflows/build.yml:452:7: shellcheck reported issue in this script: SC2086:info:1:69: Double quote to prevent globbing and word splitting [shellcheck] | 452 | run: python3 Tools/ssl/multissltests.py --steps=library --base-directory $MULTISSL_DIR --openssl $OPENSSL_VER --system Linux | ^~~~ .github/workflows/build.yml:452:7: shellcheck reported issue in this script: SC2086:info:1:93: Double quote to prevent globbing and word splitting [shellcheck] | 452 | run: python3 Tools/ssl/multissltests.py --steps=library --base-directory $MULTISSL_DIR --openssl $OPENSSL_VER --system Linux | ^~~~ .github/workflows/build.yml:454:7: shellcheck reported issue in this script: SC2086:info:1:38: Double quote to prevent globbing and word splitting [shellcheck] | 454 | run: | | ^~~~ .github/workflows/reusable-windows.yml:33:76: 1st argument of function call is not assignable. "bool" cannot be assigned to "string". called function type is "fromJSON(string) -> any" [expression] .github/workflows/reusable-windows.yml:43:80: 1st argument of function call is not assignable. "bool" cannot be assigned to "string". called function type is "fromJSON(string) -> any" [expression] .github/workflows/jit.yml:136:9: shellcheck reported issue in this script: SC2155:warning:2:8: Declare and assign separately to avoid masking return values [shellcheck] | 136 | run: | | ^~~~ .github/workflows/jit.yml:146:9: shellcheck reported issue in this script: SC2155:warning:2:8: Declare and assign separately to avoid masking return values [shellcheck] | 146 | run: | | ^~~~ .github/workflows/jit.yml:146:9: shellcheck reported issue in this script: SC2097:warning:11:1: This assignment is only seen by the forked process [shellcheck] | 146 | run: | | ^~~~ .github/workflows/jit.yml:146:9: shellcheck reported issue in this script: SC2098:warning:12:8: This expansion will not see the mentioned assignment [shellcheck] | 146 | run: | | ^~~~ .github/workflows/jit.yml:174:9: shellcheck reported issue in this script: SC2155:warning:2:8: Declare and assign separately to avoid masking return values [shellcheck] | 174 | run: | | ^~~~ Fix warnings This PR fixes .github/workflows/build.yml:449:18: property "os" is not defined in object type {} [expression], which is a bug, and would have helped for #125786. This also fixes SC2086: Double quote to prevent globbing and word splitting, but this could potentially be ignored too. I ignored all the rest, these can be tackled at another time if someone is motivated and they look worthwhile: Details .github/workflows/reusable-change-detection.yml:66:7: shellcheck reported issue in this script: SC2015:info:18:145: Note that A && B || C is not if-then-else. C may run when A is true [shellcheck] | 66 | run: | | ^~~~ .github/workflows/reusable-change-detection.yml:66:7: shellcheck reported issue in this script: SC2091:warning:24:4: Remove surrounding $() to avoid executing output (or use eval if intentional) [shellcheck] | 66 | run: | | ^~~~ .github/workflows/reusable-ubuntu.yml:36:7: shellcheck reported issue in this script: SC2129:style:1:1: Consider using { cmd1; cmd2; } >> file instead of individual redirects [shellcheck] | 36 | run: | | ^~~~ .github/workflows/reusable-ubuntu.yml:74:155: 1st argument of function call is not assignable. "bool" cannot be assigned to "string". called function type is "fromJSON(string) -> any" [expression] .github/workflows/reusable-tsan.yml:49:7: shellcheck reported issue in this script: SC2129:style:1:1: Consider using { cmd1; cmd2; } >> file instead of individual redirects [shellcheck] | 49 | run: | | ^~~~ .github/workflows/reusable-tsan.yml:71:7: shellcheck reported issue in this script: SC2038:warning:1:1: Use 'find .. -print0 | xargs -0 ..' or 'find .. -exec .. +' to allow non-alphanumeric filenames [shellcheck] | 71 | run: find "${GITHUB_WORKSPACE}" -name 'tsan_log.*' | xargs head -n 1000 | ^~~~ .github/workflows/build.yml:147:32: 1st argument of function call is not assignable. "bool" cannot be assigned to "string". called function type is "fromJSON(string) -> any" [expression] .github/workflows/build.yml:182:30: 1st argument of function call is not assignable. "bool" cannot be assigned to "string". called function type is "fromJSON(string) -> any" [expression] .github/workflows/build.yml:216:31: 1st argument of function call is not assignable. "bool" cannot be assigned to "string". called function type is "fromJSON(string) -> any" [expression] .github/workflows/build.yml:261:7: shellcheck reported issue in this script: SC2129:style:1:1: Consider using { cmd1; cmd2; } >> file instead of individual redirects [shellcheck] | 261 | run: | | ^~~~ .github/workflows/build.yml:314:7: shellcheck reported issue in this script: SC2129:style:1:1: Consider using { cmd1; cmd2; } >> file instead of individual redirects [shellcheck] | 314 | run: | | ^~~~ .github/workflows/build.yml:443:7: shellcheck reported issue in this script: SC2129:style:1:1: Consider using { cmd1; cmd2; } >> file instead of individual redirects [shellcheck] | 443 | run: | | ^~~~ .github/workflows/reusable-windows.yml:33:76: 1st argument of function call is not assignable. "bool" cannot be assigned to "string". called function type is "fromJSON(string) -> any" [expression] .github/workflows/reusable-windows.yml:43:80: 1st argument of function call is not assignable. "bool" cannot be assigned to "string". called function type is "fromJSON(string) -> any" [expression] .github/workflows/jit.yml:136:9: shellcheck reported issue in this script: SC2155:warning:2:8: Declare and assign separately to avoid masking return values [shellcheck] | 136 | run: | | ^~~~ .github/workflows/jit.yml:146:9: shellcheck reported issue in this script: SC2155:warning:2:8: Declare and assign separately to avoid masking return values [shellcheck] | 146 | run: | | ^~~~ .github/workflows/jit.yml:146:9: shellcheck reported issue in this script: SC2097:warning:11:1: This assignment is only seen by the forked process [shellcheck] | 146 | run: | | ^~~~ .github/workflows/jit.yml:146:9: shellcheck reported issue in this script: SC2098:warning:12:8: This expansion will not see the mentioned assignment [shellcheck] | 146 | run: | | ^~~~ .github/workflows/jit.yml:174:9: shellcheck reported issue in this script: SC2155:warning:2:8: Declare and assign separately to avoid masking return values [shellcheck] | 174 | run: | | ^~~~ Also let's bump the other pre-commit hooks whilst we're here.
Open Graph Description: Extra linting Add extra linting of GitHub Actions and Dependabot config files. check-dependabot and check-github-workflows don't currently have any warnings. actionlint has lots. Here are all t...
X Description: Extra linting Add extra linting of GitHub Actions and Dependabot config files. check-dependabot and check-github-workflows don't currently have any warnings. actionlint has lots. Here are a...
Opengraph URL: https://github.com/python/cpython/pull/126002
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:8ee652aa-7ee6-03d0-66c6-34263de96599 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | B266:10C068:11E03:19569:6A59CCF4 |
| html-safe-nonce | 84921571d75d4d2ea6a26e50b217cf4df3f44c69c268402ed59abdc453b99f8f |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCMjY2OjEwQzA2ODoxMUUwMzoxOTU2OTo2QTU5Q0NGNCIsInZpc2l0b3JfaWQiOiI1NjYzNDQwMzQ3NTUwMzA1NTI0IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | c892ea8ecb180f9ddedb84691e9663e99bec141e557f313c8a71e2bf987e9597 |
| hovercard-subject-tag | pull_request:2147144443 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/python/cpython/pull/126002/files |
| twitter:image | https://avatars.githubusercontent.com/u/1324225?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/1324225?s=400&v=4 |
| og:image:alt | Extra linting Add extra linting of GitHub Actions and Dependabot config files. check-dependabot and check-github-workflows don't currently have any warnings. actionlint has lots. Here are all t... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | ba3976babb66479b1c943a8edc0777d96157da48fadc0161f9ddb219deee8353 |
| turbo-cache-control | no-preview |
| diff-view | unified |
| go-import | github.com/python/cpython git https://github.com/python/cpython.git |
| octolytics-dimension-user_id | 1525981 |
| octolytics-dimension-user_login | python |
| octolytics-dimension-repository_id | 81598961 |
| octolytics-dimension-repository_nwo | python/cpython |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 81598961 |
| octolytics-dimension-repository_network_root_nwo | python/cpython |
| turbo-body-classes | logged-out env-production page-responsive full-width |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | ab680789ae4a316cdaf0d5a292a1760140931cc4 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width