From 649d86a29c373e65c2b2818b0794c50c37ecb689 Mon Sep 17 00:00:00 2001 From: dblythy Date: Thu, 6 Oct 2022 22:31:04 +1100 Subject: [PATCH 01/16] ci: add concurrency depending on PR --- .github/workflows/ci.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 4f0d9359ef..5b0287b53c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -181,7 +181,7 @@ jobs: image: redis ports: - 6379:6379 - env: + env: MONGODB_VERSION: ${{ matrix.MONGODB_VERSION }} MONGODB_TOPOLOGY: ${{ matrix.MONGODB_TOPOLOGY }} MONGODB_STORAGE_ENGINE: ${{ matrix.MONGODB_STORAGE_ENGINE }} @@ -280,3 +280,6 @@ jobs: env: CI: true - run: bash <(curl -s https://codecov.io/bash) +concurrency: + group: ${{ github.head_ref || github.ref_name }} + cancel-in-progress: true From 4d633fce750c1a33e9527cf9a930af9cfded4a31 Mon Sep 17 00:00:00 2001 From: dblythy Date: Thu, 6 Oct 2022 22:32:39 +1100 Subject: [PATCH 02/16] Update ci.yml --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 5b0287b53c..30db38c0a9 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -282,4 +282,4 @@ jobs: - run: bash <(curl -s https://codecov.io/bash) concurrency: group: ${{ github.head_ref || github.ref_name }} - cancel-in-progress: true + cancel-in-progress: true \ No newline at end of file From 3dc93c0320dd84320ff2db8c75a963621d3ea1de Mon Sep 17 00:00:00 2001 From: dblythy Date: Thu, 6 Oct 2022 22:33:13 +1100 Subject: [PATCH 03/16] Update ci.yml --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 30db38c0a9..5b0287b53c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -282,4 +282,4 @@ jobs: - run: bash <(curl -s https://codecov.io/bash) concurrency: group: ${{ github.head_ref || github.ref_name }} - cancel-in-progress: true \ No newline at end of file + cancel-in-progress: true From bade6f7b6daee64e5b26473f6fd1ddd304825376 Mon Sep 17 00:00:00 2001 From: dblythy Date: Thu, 6 Oct 2022 23:49:44 +1100 Subject: [PATCH 04/16] Update ci.yml --- .github/workflows/ci.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 5b0287b53c..be2bba5a88 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -20,6 +20,8 @@ jobs: matrix: language: [ 'javascript' ] steps: + - name: ${{ github.head_ref || github.ref_name }} + run: echo Hello world - name: Checkout repository uses: actions/checkout@v3 - name: Initialize CodeQL From cda41b6e2ae0e0e14e334b082f5c913ac3ca9a43 Mon Sep 17 00:00:00 2001 From: dblythy Date: Thu, 6 Oct 2022 23:51:53 +1100 Subject: [PATCH 05/16] Update ci.yml --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index be2bba5a88..776eac94a9 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -20,7 +20,7 @@ jobs: matrix: language: [ 'javascript' ] steps: - - name: ${{ github.head_ref || github.ref_name }} + - name: ${{ github.event.pull_request.user.login || '' }}-${{ github.head_ref || github.ref_name }} run: echo Hello world - name: Checkout repository uses: actions/checkout@v3 From 1d200e0972b34698f3338d6837c2a78a7a9b2bef Mon Sep 17 00:00:00 2001 From: dblythy Date: Thu, 6 Oct 2022 23:53:08 +1100 Subject: [PATCH 06/16] Update ci.yml --- .github/workflows/ci.yml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 776eac94a9..f6078044bd 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -20,8 +20,6 @@ jobs: matrix: language: [ 'javascript' ] steps: - - name: ${{ github.event.pull_request.user.login || '' }}-${{ github.head_ref || github.ref_name }} - run: echo Hello world - name: Checkout repository uses: actions/checkout@v3 - name: Initialize CodeQL @@ -283,5 +281,5 @@ jobs: CI: true - run: bash <(curl -s https://codecov.io/bash) concurrency: - group: ${{ github.head_ref || github.ref_name }} + group: ${{ github.event.pull_request.user.login || '' }}-${{ github.head_ref || github.ref_name }} cancel-in-progress: true From d36c7d94e9056dcb6fb1dd9a709284cca557ee37 Mon Sep 17 00:00:00 2001 From: dblythy Date: Fri, 7 Oct 2022 13:45:56 +1100 Subject: [PATCH 07/16] Update ci.yml --- .github/workflows/ci.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f6078044bd..c91ad77dc9 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -22,6 +22,8 @@ jobs: steps: - name: Checkout repository uses: actions/checkout@v3 + - name: ${{ github.event.pull_request.user.login || '' }}-${{ github.head_ref || github.ref_name }}-{{github.run-name}} + run: echo Hello world - name: Initialize CodeQL uses: github/codeql-action/init@v2 with: @@ -281,5 +283,5 @@ jobs: CI: true - run: bash <(curl -s https://codecov.io/bash) concurrency: - group: ${{ github.event.pull_request.user.login || '' }}-${{ github.head_ref || github.ref_name }} + group: ${{ github.event.pull_request.user.login || '' }}-${{ github.head_ref || github.ref_name }}-{{github.run-name}} cancel-in-progress: true From 5d3f56d0db74f18f2147584637211b9ac842c812 Mon Sep 17 00:00:00 2001 From: dblythy Date: Fri, 7 Oct 2022 13:47:05 +1100 Subject: [PATCH 08/16] Update ci.yml --- .github/workflows/ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c91ad77dc9..40c0f35581 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -22,7 +22,7 @@ jobs: steps: - name: Checkout repository uses: actions/checkout@v3 - - name: ${{ github.event.pull_request.user.login || '' }}-${{ github.head_ref || github.ref_name }}-{{github.run-name}} + - name: ${{ github.event.pull_request.user.login || '' }}-${{ github.head_ref || github.ref_name }}-${{ github.run-name }} run: echo Hello world - name: Initialize CodeQL uses: github/codeql-action/init@v2 @@ -283,5 +283,5 @@ jobs: CI: true - run: bash <(curl -s https://codecov.io/bash) concurrency: - group: ${{ github.event.pull_request.user.login || '' }}-${{ github.head_ref || github.ref_name }}-{{github.run-name}} + group: ${{ github.event.pull_request.user.login || '' }}-${{ github.head_ref || github.ref_name }}-${{ github.run-name }} cancel-in-progress: true From 1b885c931fd635f1ce3071d85e10eb9c2ffe76f3 Mon Sep 17 00:00:00 2001 From: dblythy Date: Wed, 12 Oct 2022 16:08:13 +1100 Subject: [PATCH 09/16] Update ci.yml --- .github/workflows/ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 40c0f35581..3fb6d5acdd 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -22,8 +22,8 @@ jobs: steps: - name: Checkout repository uses: actions/checkout@v3 - - name: ${{ github.event.pull_request.user.login || '' }}-${{ github.head_ref || github.ref_name }}-${{ github.run-name }} - run: echo Hello world + - name: ${{ github.event.pull_request.user.login || '' }}-${{ github.head_ref || github.ref_name }}-${{ github }} + run: echo github - name: Initialize CodeQL uses: github/codeql-action/init@v2 with: From 01ac935ddc2ad748b5ca8d76ca42fac1ea6811a5 Mon Sep 17 00:00:00 2001 From: dblythy Date: Wed, 12 Oct 2022 16:24:04 +1100 Subject: [PATCH 10/16] Update ci.yml --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 3fb6d5acdd..a3874eeaae 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -23,7 +23,7 @@ jobs: - name: Checkout repository uses: actions/checkout@v3 - name: ${{ github.event.pull_request.user.login || '' }}-${{ github.head_ref || github.ref_name }}-${{ github }} - run: echo github + run: echo ${{ github }} - name: Initialize CodeQL uses: github/codeql-action/init@v2 with: From 5eb121de1833e5ed665c8f3a17afabe58aa91580 Mon Sep 17 00:00:00 2001 From: dblythy Date: Wed, 12 Oct 2022 16:27:12 +1100 Subject: [PATCH 11/16] Update ci.yml --- .github/workflows/ci.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a3874eeaae..a38c56b275 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -23,7 +23,11 @@ jobs: - name: Checkout repository uses: actions/checkout@v3 - name: ${{ github.event.pull_request.user.login || '' }}-${{ github.head_ref || github.ref_name }}-${{ github }} - run: echo ${{ github }} + run: | + for each in "${github[@]}" + do + echo "$each" + done - name: Initialize CodeQL uses: github/codeql-action/init@v2 with: From cf3aba0bdbfeb813254da4087531a8c67268f36e Mon Sep 17 00:00:00 2001 From: dblythy Date: Wed, 12 Oct 2022 16:29:19 +1100 Subject: [PATCH 12/16] Update ci.yml --- .github/workflows/ci.yml | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a38c56b275..96f9ab8e1f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -22,12 +22,10 @@ jobs: steps: - name: Checkout repository uses: actions/checkout@v3 + env: + GITHUB_CONTEXT: ${{ toJson(github) }} - name: ${{ github.event.pull_request.user.login || '' }}-${{ github.head_ref || github.ref_name }}-${{ github }} - run: | - for each in "${github[@]}" - do - echo "$each" - done + run: echo "$GITHUB_CONTEXT" - name: Initialize CodeQL uses: github/codeql-action/init@v2 with: From 24fc97006e63b2c5e372382edb1b64ec2ba6e65c Mon Sep 17 00:00:00 2001 From: dblythy Date: Wed, 12 Oct 2022 16:33:48 +1100 Subject: [PATCH 13/16] Update ci.yml --- .github/workflows/ci.yml | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 96f9ab8e1f..82508651a9 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -22,10 +22,6 @@ jobs: steps: - name: Checkout repository uses: actions/checkout@v3 - env: - GITHUB_CONTEXT: ${{ toJson(github) }} - - name: ${{ github.event.pull_request.user.login || '' }}-${{ github.head_ref || github.ref_name }}-${{ github }} - run: echo "$GITHUB_CONTEXT" - name: Initialize CodeQL uses: github/codeql-action/init@v2 with: @@ -285,5 +281,5 @@ jobs: CI: true - run: bash <(curl -s https://codecov.io/bash) concurrency: - group: ${{ github.event.pull_request.user.login || '' }}-${{ github.head_ref || github.ref_name }}-${{ github.run-name }} + group: ${{ github.event.pull_request.user.login || '' }}-${{ github.head_ref || github.ref_name }}-${{ github.job }} cancel-in-progress: true From ac8d34c0ddbc481d0039b30d1556610883a063da Mon Sep 17 00:00:00 2001 From: dblythy Date: Wed, 12 Oct 2022 16:34:33 +1100 Subject: [PATCH 14/16] Update ci.yml --- .github/workflows/ci.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 82508651a9..a0575e39b5 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -22,6 +22,8 @@ jobs: steps: - name: Checkout repository uses: actions/checkout@v3 + - name: ${{ github.event.pull_request.user.login || '' }}-${{ github.head_ref || github.ref_name }}-${{ github.job }} + run: echo github - name: Initialize CodeQL uses: github/codeql-action/init@v2 with: From fa43ce6f2ca93328029f45ff55c56009b45ddd6e Mon Sep 17 00:00:00 2001 From: dblythy Date: Thu, 27 Oct 2022 12:13:15 +1100 Subject: [PATCH 15/16] Update ci.yml --- .github/workflows/ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a0575e39b5..853e956e19 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -22,7 +22,7 @@ jobs: steps: - name: Checkout repository uses: actions/checkout@v3 - - name: ${{ github.event.pull_request.user.login || '' }}-${{ github.head_ref || github.ref_name }}-${{ github.job }} + - name: ${{ github.workflow }}-${{ github.ref }} run: echo github - name: Initialize CodeQL uses: github/codeql-action/init@v2 @@ -283,5 +283,5 @@ jobs: CI: true - run: bash <(curl -s https://codecov.io/bash) concurrency: - group: ${{ github.event.pull_request.user.login || '' }}-${{ github.head_ref || github.ref_name }}-${{ github.job }} + group: ${{ github.workflow }}-${{ github.ref }} cancel-in-progress: true From 04a6eb27111afacbbc9ce9adef7bd307a3034d3c Mon Sep 17 00:00:00 2001 From: dblythy Date: Thu, 27 Oct 2022 12:25:50 +1100 Subject: [PATCH 16/16] Update ci.yml --- .github/workflows/ci.yml | 2 -- 1 file changed, 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 853e956e19..9271b849e9 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -22,8 +22,6 @@ jobs: steps: - name: Checkout repository uses: actions/checkout@v3 - - name: ${{ github.workflow }}-${{ github.ref }} - run: echo github - name: Initialize CodeQL uses: github/codeql-action/init@v2 with: