Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit cd46161

Browse files
committedOct 22, 2024·
Trigger e2e in PR if e2e label is added
1 parent 4f8bfd8 commit cd46161

File tree

5 files changed

+9
-4
lines changed

5 files changed

+9
-4
lines changed
 

‎.github/dependabot.yml

+3
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ updates:
1515
update-types: ["version-update:semver-patch"]
1616
open-pull-requests-limit: 4
1717
labels:
18+
- "dependabot"
1819
- "test-guided-notebooks"
1920

2021
# pip means poetry in this case, this keeps poetry.lock up to date with constraints in pyproject.toml.
@@ -27,6 +28,7 @@ updates:
2728
update-types: ["version-update:semver-patch"]
2829
open-pull-requests-limit: 1
2930
labels:
31+
- "dependabot"
3032
- "test-guided-notebooks"
3133

3234
# npm means yarn in this case, this keeps yarn.lock up to date with constraints in package.json.
@@ -39,4 +41,5 @@ updates:
3941
update-types: ["version-update:semver-patch"]
4042
open-pull-requests-limit: 1
4143
labels:
44+
- "dependabot"
4245
- "test-ui-notebooks"

‎.github/workflows/dependabot-labeler.yaml

+2-1
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,11 @@ name: Dependabot Labeler
44

55
on:
66
pull_request:
7+
types: [ labeled ]
78

89
jobs:
910
add-approve-lgtm-label:
10-
if: github.actor == 'dependabot[bot]'
11+
if: github.actor == 'dependabot[bot]' && contains(github.event.pull_request.labels.*.name, 'dependabot')
1112
runs-on: ubuntu-latest
1213
steps:
1314
- name: Add approve and lgtm labels to Dependabot PR

‎.github/workflows/e2e_tests.yaml

+2-1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ name: e2e
22

33
on:
44
pull_request:
5+
types: [ labeled, synchronize, opened, reopened ]
56
branches:
67
- main
78
- 'release-*'
@@ -30,7 +31,7 @@ env:
3031

3132
jobs:
3233
kubernetes:
33-
34+
if: contains(github.event.pull_request.labels.*.name, 'e2e') || github.event_name == 'merge_group'
3435
runs-on: ubuntu-20.04-4core-gpu
3536

3637
steps:

‎.github/workflows/guided_notebook_tests.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: Guided notebooks tests
22

33
on:
44
pull_request:
5-
types: [ labeled ]
5+
types: [ labeled, synchronize, opened, reopened ]
66

77
concurrency:
88
group: ${{ github.head_ref }}-${{ github.workflow }}

‎.github/workflows/ui_notebooks_test.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: UI notebooks tests
22

33
on:
44
pull_request:
5-
types: [labeled]
5+
types: [ labeled, synchronize, opened, reopened ]
66

77
concurrency:
88
group: ${{ github.head_ref }}-${{ github.workflow }}

0 commit comments

Comments
 (0)
Please sign in to comment.