File tree 5 files changed +39
-9
lines changed
5 files changed +39
-9
lines changed Original file line number Diff line number Diff line change 4
4
version : 2
5
5
updates :
6
6
# This is to update requirements.txt files in the guided-demos, and e2e directories.
7
- # The group configuration option is used to group updates for consistency across related directories.
8
7
- package-ecosystem : " pip"
9
8
directories :
10
9
- " **/demo-notebooks/guided-demos*"
11
10
- " /tests/e2e"
12
11
schedule :
13
- interval : " weekly"
14
- groups :
15
- requirements.txt :
16
- patterns :
17
- - " *"
18
- open-pull-requests-limit : 10
12
+ interval : " daily"
13
+ ignore :
14
+ update-types : ["version-update:semver-patch"]
15
+ open-pull-requests-limit : 4
19
16
labels :
20
17
- " test-guided-notebooks"
21
18
22
19
# pip means poetry in this case, this keeps poetry.lock up to date with constraints in pyproject.toml.
23
20
- package-ecosystem : " pip"
24
21
directory : " /"
25
22
schedule :
26
- interval : " weekly"
27
- open-pull-requests-limit : 10
23
+ interval : " daily"
24
+ ignore :
25
+ update-types : ["version-update:semver-patch"]
26
+ open-pull-requests-limit : 1
28
27
labels :
29
28
- " test-guided-notebooks"
29
+
30
+ # npm means yarn in this case, this keeps yarn.lock up to date with constraints in package.json.
31
+ - package-ecosystem : " npm"
32
+ directory : " /ui-tests"
33
+ schedule :
34
+ interval : " daily"
35
+ ignore :
36
+ update-types : ["version-update:semver-patch"]
37
+ open-pull-requests-limit : 1
38
+ labels :
39
+ - " test-ui-notebooks"
Original file line number Diff line number Diff line change
1
+ # This workflow file adds the 'lgtm' and 'approved' labels to Dependabot PRs
2
+ # This is done to ensure that the PRs that pass e2e are automatically merged/added to merge-queues by the CodeFlare bot
3
+ name : Dependabot Labeler
4
+
5
+ on :
6
+ pull_request :
7
+
8
+ jobs :
9
+ add-approve-lgtm-label :
10
+ if : github.actor == 'dependabot[bot]'
11
+ runs-on : ubuntu-latest
12
+ steps :
13
+ - name : Add approve and lgtm labels to Dependabot PR
14
+ run : |
15
+ gh pr edit ${{ github.event.pull_request.number }} --add-label "lgtm" --add-label "approved"
16
+ env :
17
+ GITHUB_TOKEN : ${{ secrets.CODEFLARE_MACHINE_ACCOUNT_TOKEN }}
Original file line number Diff line number Diff line change 19
19
- ' **.adoc'
20
20
- ' **.md'
21
21
- ' LICENSE'
22
+ merge_group :
22
23
23
24
concurrency :
24
25
group : ${{ github.head_ref }}-${{ github.workflow }}
Original file line number Diff line number Diff line change 7
7
- ' v*'
8
8
pull_request :
9
9
workflow_dispatch :
10
+ merge_group :
10
11
11
12
jobs :
12
13
precommit :
Original file line number Diff line number Diff line change 5
5
branches : [ main ]
6
6
pull_request :
7
7
branches : [ main ]
8
+ merge_group :
8
9
9
10
jobs :
10
11
unit-tests :
You can’t perform that action at this time.
0 commit comments