mirror of
https://github.com/linuxdeepin/gio-qt.git
synced 2024-11-10 12:03:46 +01:00
2ec44c007b
chore: Sync by b5a441b9bb
27 lines
693 B
YAML
27 lines
693 B
YAML
name: cppcheck
|
|
on:
|
|
pull_request_target:
|
|
paths-ignore:
|
|
- ".github/workflows/**"
|
|
|
|
concurrency:
|
|
group: ${{ github.workflow }}-pull/${{ github.event.number }}
|
|
cancel-in-progress: true
|
|
|
|
jobs:
|
|
cppchceck:
|
|
name: cppcheck
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- run: export
|
|
- uses: actions/checkout@v2
|
|
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
|