mirror of
https://github.com/linuxdeepin/deepin-music.git
synced 2026-10-16 21:20:47 +08:00
f7cace0ba9
sync by github workflow Log: none Influence: none
29 lines
820 B
YAML
29 lines
820 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@v7
|
|
with:
|
|
ref: refs/heads/${{ github.event.pull_request.head.ref }}
|
|
repository: ${{ github.event.pull_request.head.repo.full_name }}
|
|
allow-unsafe-pr-checkout: true
|
|
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
|