refator: "从文件导入"和设备列表功能完善 #185
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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@v3 | |
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 |