Separate coverity scan branches scans.

This commit is contained in:
Roger A. Light 2022-08-01 22:26:45 +01:00
parent ff97fbfe94
commit efef2abdce
3 changed files with 30 additions and 23 deletions

View File

@ -1,4 +1,4 @@
name: Coverity Scan fixes and develop branches on a weekly basis
name: Coverity Scan develop branch on a weekly basis
on:
workflow_dispatch:
@ -9,7 +9,9 @@ jobs:
coverity:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
with:
ref: develop
- name: Dependencies
run: sudo apt-get install -y libcjson-dev libsqlite3-dev libssl-dev uthash-dev

View File

@ -0,0 +1,26 @@
name: Coverity Scan fixes branch on a weekly basis
on:
workflow_dispatch:
schedule:
- cron: "7 3 * * 3"
jobs:
coverity:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
ref: fixes
- name: Dependencies
run: sudo apt-get install -y libcjson-dev libsqlite3-dev libssl-dev uthash-dev
- uses: vapier/coverity-scan-action@v1
with:
build_language: 'cxx'
project: "eclipse/mosquitto"
token: ${{ secrets.COVERITY_SCAN_TOKEN }}
email: ${{ secrets.COVERITY_SCAN_EMAIL }}
command: "make binary"

View File

@ -1,21 +0,0 @@
name: "Synchronise Coverity Scan branches on a weekly basis"
on:
workflow_dispatch:
schedule:
- cron: "7 3 * * 0"
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0
- run: |
git checkout coverity-fixes
git reset --hard origin/fixes
git push origin coverity-fixes
git checkout coverity-develop
git reset --hard origin/develop
git push origin coverity-develop