2022-04-18 11:38:23 +02:00
|
|
|
name: cppcheck
|
|
|
|
on:
|
|
|
|
pull_request_target:
|
2022-04-21 08:51:13 +02:00
|
|
|
paths-ignore:
|
|
|
|
- ".github/workflows/**"
|
2022-04-18 11:38:23 +02:00
|
|
|
|
|
|
|
concurrency:
|
|
|
|
group: ${{ github.workflow }}-pull/${{ github.event.number }}
|
|
|
|
cancel-in-progress: true
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
cppchceck:
|
|
|
|
name: cppcheck
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
|
|
- run: export
|
2023-07-10 08:12:08 +02:00
|
|
|
- uses: actions/checkout@v3
|
2022-04-18 11:38:23 +02:00
|
|
|
with:
|
|
|
|
ref: ${{ github.event.pull_request.head.sha }}
|
|
|
|
persist-credentials: false
|
|
|
|
- uses: linuxdeepin/action-cppcheck@main
|
|
|
|
with:
|
|
|
|
github_token: ${{ secrets.GITHUB_TOKEN }}
|
|
|
|
repository: ${{ github.repository }}
|
|
|
|
pull_request_id: ${{ github.event.pull_request.number }}
|
|
|
|
allow_approve: false
|