From 80bb31cf484d060bb5ec511c1afed1c5742b518c Mon Sep 17 00:00:00 2001 From: "Roger A. Light" Date: Wed, 15 Jul 2020 11:10:10 +0100 Subject: [PATCH] Github action for synchronising coverity scan branches --- .github/workflows/covsync.yml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 .github/workflows/covsync.yml diff --git a/.github/workflows/covsync.yml b/.github/workflows/covsync.yml new file mode 100644 index 00000000..9119f6ae --- /dev/null +++ b/.github/workflows/covsync.yml @@ -0,0 +1,18 @@ +name: "Synchronise Coverity Scan branches on a weekly basis" + +on: + schedule: + - cron: "7 3 * * 0" + +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + with: + fetch-depth: 0 + - run: | + git checkout -b coverity-fixes origin/fixes + git push origin coverity-fixes + git checkout -b coverity-develop origin/develop + git push origin coverity-develop