Skip to content

Commit 910b080

Browse files
authored
fix the concurrency group of the integration workflow (#940)
1 parent 10fe454 commit 910b080

File tree

4 files changed

+1
-8
lines changed

4 files changed

+1
-8
lines changed

.github/workflows/reusable-examples.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@ on:
2727
jobs:
2828
examples:
2929
runs-on: ubuntu-latest
30-
if: (github.event.pull_request.draft == false && !contains(github.event.pull_request.labels.*.name, 'ci/skip') && !contains(github.event.pull_request.head.ref, 'datadog-api-spec/test/')) || github.event_name == 'schedule'
3130
steps:
3231
- uses: actions/checkout@v3
3332
with:

.github/workflows/reusable-integration-test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ on:
5656
required: true
5757

5858
concurrency:
59-
group: integration-${{ github.head_ref }}
59+
group: integration-rust-${{ inputs.target-branch || github.head_ref }}
6060
cancel-in-progress: true
6161

6262
jobs:

.github/workflows/reusable-pre-commit.yml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,6 @@ on:
2222
jobs:
2323
pre-commit:
2424
runs-on: ubuntu-latest
25-
if: >
26-
(github.event.pull_request.draft == false &&
27-
!contains(github.event.pull_request.labels.*.name, 'ci/skip') &&
28-
!contains(github.event.pull_request.head.ref, 'datadog-api-spec/test/')) ||
29-
github.event_name == 'schedule'
3025
steps:
3126
- name: Get GitHub App token
3227
if: inputs.enable-commit-changes && github.event.pull_request.head.repo.full_name == github.repository

.github/workflows/reusable-rust-test.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,6 @@ jobs:
3636
rust-version: ${{ fromJSON(inputs.rust-versions) }}
3737
platform: ${{ fromJSON(inputs.platforms) }}
3838
runs-on: ${{ matrix.platform }}
39-
if: (github.event.pull_request.draft == false && !contains(github.event.pull_request.labels.*.name, 'ci/skip') && !contains(github.event.pull_request.head.ref, 'datadog-api-spec/test/')) || github.event_name == 'schedule'
4039
steps:
4140
- name: Checkout code
4241
uses: actions/checkout@v3

0 commit comments

Comments
 (0)