diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ce25684047..31d4128327 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -4,10 +4,13 @@ on: push: branches: - main - - 1.* - 2.* pull_request: +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: ${{ github.ref != 'refs/heads/main' }} + env: GRADLE_OPTS: -Dhttp.keepAlive=false CI_ENVIRONMENT: normal diff --git a/.github/workflows/plugin_install.yml b/.github/workflows/plugin_install.yml index 537f8033fb..3f87a00372 100644 --- a/.github/workflows/plugin_install.yml +++ b/.github/workflows/plugin_install.yml @@ -2,6 +2,10 @@ name: Plugin Install on: [push, pull_request, workflow_dispatch] +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: ${{ github.ref != 'refs/heads/main' }} + env: OPENSEARCH_VERSION: 3.6.0 PLUGIN_NAME: opensearch-security