ci: sparse checkout CodeQL actions shard (#87775) · openclaw/openclaw@563ad77
RomneyDa
·
2026-05-29
·
via Recent Commits to openclaw:main
| Original file line number | Diff line number | Diff line change |
|---|
@@ -85,10 +85,21 @@ jobs:
|
85 | 85 | config_file: ./.github/codeql/codeql-actions-critical-security.yml |
86 | 86 | steps: |
87 | 87 | - name: Checkout |
| 88 | +if: ${{ matrix.category != 'actions' }} |
88 | 89 | uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6 |
89 | 90 | with: |
90 | 91 | submodules: false |
91 | 92 | |
| 93 | + - name: Checkout Actions security sources |
| 94 | +if: ${{ matrix.category == 'actions' }} |
| 95 | +uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6 |
| 96 | +with: |
| 97 | +submodules: false |
| 98 | +sparse-checkout: | |
| 99 | + .github/actions |
| 100 | + .github/workflows |
| 101 | + .github/codeql |
| 102 | + |
92 | 103 | - name: Initialize CodeQL |
93 | 104 | uses: github/codeql-action/init@95e58e9a2cdfd71adc6e0353d5c52f41a045d225 # v4 |
94 | 105 | with: |
|
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。