curl-curl/.github/workflows
Viktor Szakats e522f47986
GHA/checksrc: check GHA rules with zizmor
The pedantic level is experimental. If it causes issues, we may just
disable it alongside the ignore comments.

Also:
- silence error:
  ```
   INFO audit: zizmor: completed label.yml
  error[dangerous-triggers]: use of fundamentally insecure workflow trigger
    --> label.yml:13:1
     |
  13 | 'on': [pull_request_target]
     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ pull_request_target is almost always used insecurely
     |
     = note: audit confidence -> Medium
  ```
- fix pedantic warning:
  ```
   INFO audit: zizmor: completed label.yml
  warning[excessive-permissions]: overly broad permissions
    --> label.yml:1:1
  ...  |
  24 | |         with:
  25 | |           repo-token: '${{ secrets.GITHUB_TOKEN }}'
     | |____________________________________________________- default permissions used due to no permissions: block
     |
     = note: audit confidence -> Medium
  ```
- silence `template-injection` false positives like:
  ```
  - note: ${{ matrix.build.torture && 'test-torture' || 'test-ci' }} may expand into attacker-controllable code
  - note: ${{ contains(matrix.build.install_steps, 'pytest') && 'caddy httpd vsftpd' || '' }} may expand into attacker-controllable code
  ```
  It doesn't seem like these could be controlled by an attacker.
  Let me know if I'm missing something.

Closes #17278
2025-05-07 23:11:09 +02:00
..
appveyor-status.yml GHA: add yamlcheck 2024-08-23 18:42:55 +02:00
checkdocs.yml GHA: skip updating man-db for faster installs (Ubuntu) 2025-04-25 10:17:36 +02:00
checksrc.yml GHA/checksrc: check GHA rules with zizmor 2025-05-07 23:11:09 +02:00
configure-vs-cmake.yml GHA: skip updating man-db for faster installs (Ubuntu) 2025-04-25 10:17:36 +02:00
curl-for-win.yml GHA/curl-for-win: switch to podman (from docker) 2025-04-03 23:23:37 +02:00
distcheck.yml cmake: extend integration tests 2025-04-27 13:22:39 +02:00
fuzz.yml CI: move Azure jobs to GHA, fix fallouts, sshserver, runtests tweaks 2024-09-16 10:00:17 +02:00
hacktoberfest-accepted.yml GHA: set persist-credentials: false 2024-12-16 18:00:22 +01:00
http3-linux.yml GHA: update wolfSSL/wolfssl to v5.8.0 2025-04-25 22:34:32 +02:00
label.yml GHA/checksrc: check GHA rules with zizmor 2025-05-07 23:11:09 +02:00
linux-old.yml libssh: drop support for libssh older than 0.9.0 2025-02-06 22:27:13 +01:00
linux.yml GHA/checksrc: check GHA rules with zizmor 2025-05-07 23:11:09 +02:00
macos.yml GHA/checksrc: check GHA rules with zizmor 2025-05-07 23:11:09 +02:00
non-native.yml GHA: Update libressl-portable/portable to v4.1.0 2025-05-01 12:13:19 +02:00
windows.yml GHA/checksrc: check GHA rules with zizmor 2025-05-07 23:11:09 +02:00