From 35a3981d7e799b6d4ca03dce8f7dd219a3bd4a2d Mon Sep 17 00:00:00 2001 From: "Roger A. Light" Date: Thu, 6 Aug 2020 14:02:45 +0100 Subject: [PATCH] Synchronise coverity scan branches on a weekly basis. This uses github actions to synchronise `coverity-develop` to point at `develop`, and so triggers a Coverity Scan build on a weekly basis, if that branch has moved. It is also possible to trigger this manually, by going to https://github.com/eclipse/paho.mqtt.c/actions , selecting the Synchronise Coverity Scan branches workflow, clicking `Run workflow`, then `Run workflow`. Signed-off-by: Roger A. Light --- .github/workflows/covsync.yml | 17 +++++++++++++++++ 1 file changed, 17 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..02578c57 --- /dev/null +++ b/.github/workflows/covsync.yml @@ -0,0 +1,17 @@ +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 -b coverity-develop origin/develop + git push origin coverity-develop