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