File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2727 # qemu is required for arm64 builds
2828 sudo apt install -y buildah qemu-user-static
2929 - name : Checkout code
30- uses : actions/checkout@v4
30+ uses : actions/checkout@v7
3131 with :
3232 # Fetch submodules (required for lightspeed-providers)
3333 submodules : ' recursive'
Original file line number Diff line number Diff line change 2424 E2E_LLAMA_HOSTNAME : ${{ vars.E2E_LLAMA_HOSTNAME || 'llama-stack' }}
2525
2626 steps :
27- - uses : actions/checkout@v4
27+ - uses : actions/checkout@v7
2828 with :
2929 # On PR_TARGET → the fork (or same repo) that opened the PR.
3030 # On push → falls back to the current repository.
3434 # On push → the pushed commit that triggered the workflow.
3535 ref : ${{ github.event.pull_request.head.ref || github.sha }}
3636
37+ # Tests need access to secrets.
38+ # This should be refactored if possible to mitigate the risk.
39+ # https://docs.github.com/en/actions/reference/security/securely-using-pull_request_target
40+ allow-unsafe-pr-checkout : true
41+
3742 # Don’t keep credentials when running untrusted PR code under PR_TARGET.
3843 persist-credentials : ${{ github.event_name != 'pull_request_target' }}
3944
Original file line number Diff line number Diff line change 1717
1818 steps :
1919 - name : Checkout
20- uses : actions/checkout@v4
20+ uses : actions/checkout@v7
2121 with :
2222 # On PR_TARGET → the fork (or same repo) that opened the PR.
2323 # On push → falls back to the current repository.
3030 # Don’t keep credentials when running untrusted PR code under PR_TARGET.
3131 persist-credentials : ${{ github.event_name != 'pull_request_target' }}
3232
33+ # Tests need access to secrets.
34+ # This should be refactored if possible to mitigate the risk.
35+ # https://docs.github.com/en/actions/reference/security/securely-using-pull_request_target
36+ allow-unsafe-pr-checkout : true
37+
3338 # Fetch submodules (required for lightspeed-providers)
3439 submodules : ' recursive'
3540
4752 git log --oneline -5
4853
4954 - name : Checkout lightspeed-Evaluation
50- uses : actions/checkout@v4
55+ uses : actions/checkout@v7
5156 with :
5257 repository : lightspeed-core/lightspeed-evaluation
5358 path : lightspeed-evaluation
Original file line number Diff line number Diff line change 4949 E2E_DEFAULT_PROVIDER_OVERRIDE : ${{ matrix.e2e_default_provider }}
5050
5151 steps :
52- - uses : actions/checkout@v4
52+ - uses : actions/checkout@v7
5353 with :
5454 # On PR_TARGET → the fork (or same repo) that opened the PR.
5555 # On push → falls back to the current repository.
5959 # On push → the pushed commit that triggered the workflow.
6060 ref : ${{ github.event.pull_request.head.ref || github.sha }}
6161
62+ # Tests need access to secrets.
63+ # This should be refactored if possible to mitigate the risk.
64+ # https://docs.github.com/en/actions/reference/security/securely-using-pull_request_target
65+ allow-unsafe-pr-checkout : true
66+
6267 # Don’t keep credentials when running untrusted PR code under PR_TARGET.
6368 persist-credentials : ${{ github.event_name != 'pull_request_target' }}
6469
Original file line number Diff line number Diff line change 3838 E2E_DEFAULT_PROVIDER_OVERRIDE : vllm
3939
4040 steps :
41- - uses : actions/checkout@v4
41+ - uses : actions/checkout@v7
4242 with :
4343 # On PR_TARGET → the fork (or same repo) that opened the PR.
4444 # On push → falls back to the current repository.
4848 # On push → the pushed commit that triggered the workflow.
4949 ref : ${{ github.event.pull_request.head.ref || github.sha }}
5050
51+ # Tests need access to secrets.
52+ # This should be refactored if possible to mitigate the risk.
53+ # https://docs.github.com/en/actions/reference/security/securely-using-pull_request_target
54+ allow-unsafe-pr-checkout : true
55+
5156 # Don’t keep credentials when running untrusted PR code under PR_TARGET.
5257 persist-credentials : ${{ github.event_name != 'pull_request_target' }}
5358
Original file line number Diff line number Diff line change 1212 pull-requests : read
1313 name : " radon"
1414 steps :
15- - uses : actions/checkout@v3
15+ - uses : actions/checkout@v7
1616 - uses : davidslusser/actions_python_radon@v1.0.0
1717 with :
1818 src : " src"
You can’t perform that action at this time.
0 commit comments