Skip to content

Commit d23f235

Browse files
committed
fix: ensure make gen runs on any changes
1 parent 03940f5 commit d23f235

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/ci.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ jobs:
3030
changes:
3131
runs-on: ubuntu-latest
3232
outputs:
33+
any: ${{ steps.filter.outputs.all_count > 0 && 'true' || 'false' }}
3334
docs-only: ${{ steps.filter.outputs.docs_count == steps.filter.outputs.all_count }}
3435
docs: ${{ steps.filter.outputs.docs }}
3536
go: ${{ steps.filter.outputs.go }}
@@ -234,7 +235,7 @@ jobs:
234235
timeout-minutes: 8
235236
runs-on: ${{ github.repository_owner == 'coder' && 'depot-ubuntu-22.04-8' || 'ubuntu-latest' }}
236237
needs: changes
237-
if: needs.changes.outputs.docs-only == 'true' || needs.changes.outputs.ci == 'true' || github.ref == 'refs/heads/main'
238+
if: needs.changes.outputs.any == 'true' || needs.changes.outputs.ci == 'true' || github.ref == 'refs/heads/main'
238239
steps:
239240
- name: Harden Runner
240241
uses: step-security/harden-runner@91182cccc01eb5e619899d80e4e971d6181294a7 # v2.10.1

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy