diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 2f065403..1c2e291b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1,5 +1,19 @@ name: CI -on: [push, pull_request] +concurrency: + group: "${{github.workflow}}-${{github.ref}}" + cancel-in-progress: true +on: + workflow_dispatch: + push: + branches: + - main + tags: + - v*.*.* + pull_request: + types: [opened, synchronize] + branches: + - '*' + jobs: tests: runs-on: ubuntu-latest diff --git a/.github/workflows/gem-install.yml b/.github/workflows/gem-install.yml index 5991669e..2cca1a7b 100644 --- a/.github/workflows/gem-install.yml +++ b/.github/workflows/gem-install.yml @@ -1,5 +1,19 @@ name: Native Gems -on: [push, pull_request] +concurrency: + group: "${{github.workflow}}-${{github.ref}}" + cancel-in-progress: true +on: + workflow_dispatch: + push: + branches: + - main + tags: + - v*.*.* + pull_request: + types: [opened, synchronize] + branches: + - '*' + jobs: package: strategy: