Skip to content

Commit

Permalink
Update workflow to run on push to master
Browse files Browse the repository at this point in the history
  • Loading branch information
loglund committed Aug 22, 2023
1 parent 6676a93 commit 0a13733
Showing 1 changed file with 11 additions and 21 deletions.
32 changes: 11 additions & 21 deletions .github/workflows/cppcheck.yml
Original file line number Diff line number Diff line change
@@ -1,25 +1,15 @@
name: Cppcheck
on:
workflow_dispatch:
schedule:
- cron: "0 1 * * *" # 3 AM CET
push:
concurrency:
cancel-in-progress: true
group: ${{ github.workflow }}-${{ github.ref || github.run_id }}
jobs:
docker_check:
name: Cppcheck
uses: steinwurf/cppcheck-action/.github/workflows/action.yml@2.0.0











# Cancel previous in-progress when pushing: https://stackoverflow.com/a/72408109
concurrency:
group: ${{ github.workflow }}-${{ github.ref || github.run_id }}
cancel-in-progress: true
name: Cppcheck
'on':
push:
branches:
- master
schedule:
- cron: 0 1 * * *
workflow_dispatch: null

0 comments on commit 0a13733

Please sign in to comment.