Skip to content

Commit 79cd414

Browse files
committed
fix: add repository parameter to checkout steps for fork PR compatibility for cppcheck.yml
This amends 10499fb Log:
1 parent 8b4e60f commit 79cd414

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

workflow-templates/cppcheck.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,11 @@ jobs:
1414
runs-on: ubuntu-latest
1515
steps:
1616
- run: export
17-
- uses: actions/checkout@v4
17+
- uses: actions/checkout@v7
1818
with:
1919
ref: ${{ github.event.pull_request.head.sha }}
20+
repository: ${{ github.event.pull_request.head.repo.full_name }}
21+
allow-unsafe-pr-checkout: true
2022
persist-credentials: false
2123
- uses: linuxdeepin/action-cppcheck@main
2224
with:

0 commit comments

Comments
 (0)