[Github] Use sparse checkout in release asset audit (#148646)
This patch makes the release asset audit script use a sparse checkout given we only need two files. This should make the action quite a bit more efficient as it is presumably currently bottlenecked by checking out the entire monorepo.
This commit is contained in:
parent
e21ee41be4
commit
965bb5d9f4
7
.github/workflows/release-asset-audit.yml
vendored
7
.github/workflows/release-asset-audit.yml
vendored
@ -22,7 +22,12 @@ jobs:
|
|||||||
runs-on: ubuntu-24.04
|
runs-on: ubuntu-24.04
|
||||||
if: github.repository == 'llvm/llvm-project'
|
if: github.repository == 'llvm/llvm-project'
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 #v4.1.6
|
- name: Checkout LLVM
|
||||||
|
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
|
||||||
|
with:
|
||||||
|
sparse-checkout: |
|
||||||
|
.github/workflows/release-asset-audit.py
|
||||||
|
llvm/utils/git/requirements.txt
|
||||||
- name: "Run Audit Script"
|
- name: "Run Audit Script"
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ github.token }}
|
GITHUB_TOKEN: ${{ github.token }}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user