From 1d33990e78983eb2d4d199b4830a6f67246a3f09 Mon Sep 17 00:00:00 2001 From: Ethan <39577870+ethanndickson@users.noreply.github.com> Date: Tue, 29 Oct 2024 03:46:18 +1100 Subject: [PATCH] fix: ensure `make gen` runs on any changes (#15253) Previously, `make gen` ran on CI whenever a non-docs change was made. Based off the problem described in #15252, it sounds like CI should *always* be running `gen`. (Because I broke it, currently PR `gen` is getting skipped unless the `ci` category is updated) --- .github/workflows/ci.yaml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index dbfe10242f..e2b95c7699 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -233,8 +233,7 @@ jobs: gen: timeout-minutes: 8 runs-on: ${{ github.repository_owner == 'coder' && 'depot-ubuntu-22.04-8' || 'ubuntu-latest' }} - needs: changes - if: needs.changes.outputs.docs-only == 'true' || needs.changes.outputs.ci == 'true' || github.ref == 'refs/heads/main' + if: always() steps: - name: Harden Runner uses: step-security/harden-runner@91182cccc01eb5e619899d80e4e971d6181294a7 # v2.10.1