mirror of
https://github.com/linuxdeepin/deepin-music.git
synced 2026-10-18 14:40:43 +08:00
26 lines
695 B
YAML
26 lines
695 B
YAML
name: cppcheck
|
|
on:
|
|
pull_request_target:
|
|
types: [opened, reopened, synchronize, closed]
|
|
|
|
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
|