diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index fb9bf55..504ada9 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -1,6 +1,17 @@ --- name: CrateDB Docker images test -on: [push] +on: + pull_request: ~ + push: + branches: + - master + workflow_dispatch: + schedule: + - cron: '0 4 * * *' + +concurrency: + cancel-in-progress: true + group: ${{ github.workflow }}-${{ github.ref }} jobs: multi-arch-build: diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 4ca9d1c..a88f2e3 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -5,6 +5,13 @@ on: push: branches: - master + workflow_dispatch: + schedule: + - cron: '0 4 * * *' + +concurrency: + cancel-in-progress: true + group: ${{ github.workflow }}-${{ github.ref }} jobs: test: