mirror of
https://github.com/coder/coder.git
synced 2026-09-21 20:51:01 +08:00
## Summary The `lint/actions/zizmor` target flakes in CI due to network connectivity issues when running on depot runners (https://github.com/coder/internal/issues/1233). The zizmor tool needs to reach GitHub's API but intermittently fails with "Connection refused" errors. ## Changes - Creates a new `lint-actions` CI job that only runs when `.github/**` files are touched (using existing `ci` filter) - Removes zizmor from the main `lint` job - Uses a Makefile conditional to include actionlint in `make lint` locally but skip it in CI (where `lint-actions` handles it) This reduces unnecessary flake exposure for PRs that don't modify GitHub Actions files. ## Testing - `actionlint` passes on the modified ci.yaml - Verified Makefile conditional works: actionlint included locally, skipped when `CI=true` Fixes https://github.com/coder/internal/issues/1233