Skip to content

Commit b493c33

Browse files
committed
Update golden tests with the new labeler version
Signed-off-by: Leandro Lucarella <[email protected]>
1 parent e7a5380 commit b493c33

File tree

10 files changed

+180
-120
lines changed

10 files changed

+180
-120
lines changed

tests_golden/integration/test_cookiecutter_generation/actor/frequenz-actor-test/.github/labeler.yml

Lines changed: 35 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -10,42 +10,54 @@
1010
# For example:
1111
#
1212
# "part:module":
13-
# - "src/frequenz/actor/test/module/**"
13+
# - changed-files:
14+
# - any-glob-to-any-file:
15+
# - "src/frequenz/actor/test/module/**"
1416
#
1517
# "part:other":
16-
# - "src/frequenz/actor/test/other/**"
18+
# - changed-files:
19+
# - any-glob-to-any-file:
20+
# - "src/frequenz/actor/test/other/**"
1721
#
1822
# # For excluding some files (in this example, label "part:complicated"
1923
# # everything inside src/ with a .py suffix, except for src/__init__.py)
2024
# "part:complicated":
21-
# - any:
22-
# - "src/**/*.py"
2325
# - all:
24-
# - "!src/__init__.py"
26+
# - changed-files:
27+
# - any-glob-to-any-file:
28+
# - "src/**/*.py"
29+
# - all-glob-to-all-file:
30+
# - "!src/__init__.py"
2531
#
2632
# Please have in mind that that the part:xxx labels need to
2733
# be created in the GitHub repository.
2834

2935
"part:docs":
30-
- "**/*.md"
31-
- "docs/**"
32-
- "examples/**"
33-
- LICENSE
36+
- changed-files:
37+
- any-glob-to-any-file:
38+
- "**/*.md"
39+
- "docs/**"
40+
- "examples/**"
41+
- LICENSE
3442

3543
"part:tests":
36-
- "**/conftest.py"
37-
- "tests/**"
44+
- changed-files:
45+
- any-glob-to-any-file:
46+
- "**/conftest.py"
47+
- "tests/**"
3848

3949
"part:tooling":
40-
- "**/*.ini"
41-
- "**/*.toml"
42-
- "**/*.yaml"
43-
- "**/*.yml"
44-
- "**/conftest.py"
45-
- ".editorconfig"
46-
- ".git*"
47-
- ".git*/**"
48-
- "docs/*.py"
49-
- CODEOWNERS
50-
- MANIFEST.in
51-
- noxfile.py
50+
- changed-files:
51+
- any-glob-to-any-file:
52+
- "**/*.ini"
53+
- "**/*.toml"
54+
- "**/*.yaml"
55+
- "**/*.yml"
56+
- "**/conftest.py"
57+
- ".editorconfig"
58+
- ".git*"
59+
- ".git*/**"
60+
- "docs/*.py"
61+
- CODEOWNERS
62+
- MANIFEST.in
63+
- noxfile.py

tests_golden/integration/test_cookiecutter_generation/actor/frequenz-actor-test/.github/workflows/labeler.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
# only use hashes to pick the action to execute (instead of tags or branches).
1919
# For more details read:
2020
# https://securitylab.github.com/research/github-actions-preventing-pwn-requests/
21-
uses: actions/labeler@ac9175f8a1f3625fd0d4fb234536d26811351594 # 4.3.0
21+
uses: actions/labeler@8558fd74291d67161a8a78ce36a881fa63b766a9 # 5.0.0
2222
with:
2323
repo-token: "${{ secrets.GITHUB_TOKEN }}"
2424
dot: true

tests_golden/integration/test_cookiecutter_generation/api/frequenz-api-test/.github/labeler.yml

Lines changed: 35 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -10,42 +10,54 @@
1010
# For example:
1111
#
1212
# "part:module":
13-
# - "src/frequenz/api/test/module/**"
13+
# - changed-files:
14+
# - any-glob-to-any-file:
15+
# - "src/frequenz/api/test/module/**"
1416
#
1517
# "part:other":
16-
# - "src/frequenz/api/test/other/**"
18+
# - changed-files:
19+
# - any-glob-to-any-file:
20+
# - "src/frequenz/api/test/other/**"
1721
#
1822
# # For excluding some files (in this example, label "part:complicated"
1923
# # everything inside src/ with a .py suffix, except for src/__init__.py)
2024
# "part:complicated":
21-
# - any:
22-
# - "src/**/*.py"
2325
# - all:
24-
# - "!src/__init__.py"
26+
# - changed-files:
27+
# - any-glob-to-any-file:
28+
# - "src/**/*.py"
29+
# - all-glob-to-all-file:
30+
# - "!src/__init__.py"
2531
#
2632
# Please have in mind that that the part:xxx labels need to
2733
# be created in the GitHub repository.
2834

2935
"part:docs":
30-
- "**/*.md"
31-
- "docs/**"
32-
- "examples/**"
33-
- LICENSE
36+
- changed-files:
37+
- any-glob-to-any-file:
38+
- "**/*.md"
39+
- "docs/**"
40+
- "examples/**"
41+
- LICENSE
3442

3543
"part:tests":
36-
- "**/conftest.py"
37-
- "pytests/**"
44+
- changed-files:
45+
- any-glob-to-any-file:
46+
- "**/conftest.py"
47+
- "pytests/**"
3848

3949
"part:tooling":
40-
- "**/*.ini"
41-
- "**/*.toml"
42-
- "**/*.yaml"
43-
- "**/*.yml"
44-
- "**/conftest.py"
45-
- ".editorconfig"
46-
- ".git*"
47-
- ".git*/**"
48-
- "docs/*.py"
49-
- CODEOWNERS
50-
- MANIFEST.in
51-
- noxfile.py
50+
- changed-files:
51+
- any-glob-to-any-file:
52+
- "**/*.ini"
53+
- "**/*.toml"
54+
- "**/*.yaml"
55+
- "**/*.yml"
56+
- "**/conftest.py"
57+
- ".editorconfig"
58+
- ".git*"
59+
- ".git*/**"
60+
- "docs/*.py"
61+
- CODEOWNERS
62+
- MANIFEST.in
63+
- noxfile.py

tests_golden/integration/test_cookiecutter_generation/api/frequenz-api-test/.github/workflows/labeler.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
# only use hashes to pick the action to execute (instead of tags or branches).
1919
# For more details read:
2020
# https://securitylab.github.com/research/github-actions-preventing-pwn-requests/
21-
uses: actions/labeler@ac9175f8a1f3625fd0d4fb234536d26811351594 # 4.3.0
21+
uses: actions/labeler@8558fd74291d67161a8a78ce36a881fa63b766a9 # 5.0.0
2222
with:
2323
repo-token: "${{ secrets.GITHUB_TOKEN }}"
2424
dot: true

tests_golden/integration/test_cookiecutter_generation/app/frequenz-app-test/.github/labeler.yml

Lines changed: 35 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -10,42 +10,54 @@
1010
# For example:
1111
#
1212
# "part:module":
13-
# - "src/frequenz/app/test/module/**"
13+
# - changed-files:
14+
# - any-glob-to-any-file:
15+
# - "src/frequenz/app/test/module/**"
1416
#
1517
# "part:other":
16-
# - "src/frequenz/app/test/other/**"
18+
# - changed-files:
19+
# - any-glob-to-any-file:
20+
# - "src/frequenz/app/test/other/**"
1721
#
1822
# # For excluding some files (in this example, label "part:complicated"
1923
# # everything inside src/ with a .py suffix, except for src/__init__.py)
2024
# "part:complicated":
21-
# - any:
22-
# - "src/**/*.py"
2325
# - all:
24-
# - "!src/__init__.py"
26+
# - changed-files:
27+
# - any-glob-to-any-file:
28+
# - "src/**/*.py"
29+
# - all-glob-to-all-file:
30+
# - "!src/__init__.py"
2531
#
2632
# Please have in mind that that the part:xxx labels need to
2733
# be created in the GitHub repository.
2834

2935
"part:docs":
30-
- "**/*.md"
31-
- "docs/**"
32-
- "examples/**"
33-
- LICENSE
36+
- changed-files:
37+
- any-glob-to-any-file:
38+
- "**/*.md"
39+
- "docs/**"
40+
- "examples/**"
41+
- LICENSE
3442

3543
"part:tests":
36-
- "**/conftest.py"
37-
- "tests/**"
44+
- changed-files:
45+
- any-glob-to-any-file:
46+
- "**/conftest.py"
47+
- "tests/**"
3848

3949
"part:tooling":
40-
- "**/*.ini"
41-
- "**/*.toml"
42-
- "**/*.yaml"
43-
- "**/*.yml"
44-
- "**/conftest.py"
45-
- ".editorconfig"
46-
- ".git*"
47-
- ".git*/**"
48-
- "docs/*.py"
49-
- CODEOWNERS
50-
- MANIFEST.in
51-
- noxfile.py
50+
- changed-files:
51+
- any-glob-to-any-file:
52+
- "**/*.ini"
53+
- "**/*.toml"
54+
- "**/*.yaml"
55+
- "**/*.yml"
56+
- "**/conftest.py"
57+
- ".editorconfig"
58+
- ".git*"
59+
- ".git*/**"
60+
- "docs/*.py"
61+
- CODEOWNERS
62+
- MANIFEST.in
63+
- noxfile.py

tests_golden/integration/test_cookiecutter_generation/app/frequenz-app-test/.github/workflows/labeler.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
# only use hashes to pick the action to execute (instead of tags or branches).
1919
# For more details read:
2020
# https://securitylab.github.com/research/github-actions-preventing-pwn-requests/
21-
uses: actions/labeler@ac9175f8a1f3625fd0d4fb234536d26811351594 # 4.3.0
21+
uses: actions/labeler@8558fd74291d67161a8a78ce36a881fa63b766a9 # 5.0.0
2222
with:
2323
repo-token: "${{ secrets.GITHUB_TOKEN }}"
2424
dot: true

tests_golden/integration/test_cookiecutter_generation/lib/frequenz-test-python/.github/labeler.yml

Lines changed: 35 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -10,42 +10,54 @@
1010
# For example:
1111
#
1212
# "part:module":
13-
# - "src/frequenz/lib/test/module/**"
13+
# - changed-files:
14+
# - any-glob-to-any-file:
15+
# - "src/frequenz/lib/test/module/**"
1416
#
1517
# "part:other":
16-
# - "src/frequenz/lib/test/other/**"
18+
# - changed-files:
19+
# - any-glob-to-any-file:
20+
# - "src/frequenz/lib/test/other/**"
1721
#
1822
# # For excluding some files (in this example, label "part:complicated"
1923
# # everything inside src/ with a .py suffix, except for src/__init__.py)
2024
# "part:complicated":
21-
# - any:
22-
# - "src/**/*.py"
2325
# - all:
24-
# - "!src/__init__.py"
26+
# - changed-files:
27+
# - any-glob-to-any-file:
28+
# - "src/**/*.py"
29+
# - all-glob-to-all-file:
30+
# - "!src/__init__.py"
2531
#
2632
# Please have in mind that that the part:xxx labels need to
2733
# be created in the GitHub repository.
2834

2935
"part:docs":
30-
- "**/*.md"
31-
- "docs/**"
32-
- "examples/**"
33-
- LICENSE
36+
- changed-files:
37+
- any-glob-to-any-file:
38+
- "**/*.md"
39+
- "docs/**"
40+
- "examples/**"
41+
- LICENSE
3442

3543
"part:tests":
36-
- "**/conftest.py"
37-
- "tests/**"
44+
- changed-files:
45+
- any-glob-to-any-file:
46+
- "**/conftest.py"
47+
- "tests/**"
3848

3949
"part:tooling":
40-
- "**/*.ini"
41-
- "**/*.toml"
42-
- "**/*.yaml"
43-
- "**/*.yml"
44-
- "**/conftest.py"
45-
- ".editorconfig"
46-
- ".git*"
47-
- ".git*/**"
48-
- "docs/*.py"
49-
- CODEOWNERS
50-
- MANIFEST.in
51-
- noxfile.py
50+
- changed-files:
51+
- any-glob-to-any-file:
52+
- "**/*.ini"
53+
- "**/*.toml"
54+
- "**/*.yaml"
55+
- "**/*.yml"
56+
- "**/conftest.py"
57+
- ".editorconfig"
58+
- ".git*"
59+
- ".git*/**"
60+
- "docs/*.py"
61+
- CODEOWNERS
62+
- MANIFEST.in
63+
- noxfile.py

tests_golden/integration/test_cookiecutter_generation/lib/frequenz-test-python/.github/workflows/labeler.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
# only use hashes to pick the action to execute (instead of tags or branches).
1919
# For more details read:
2020
# https://securitylab.github.com/research/github-actions-preventing-pwn-requests/
21-
uses: actions/labeler@ac9175f8a1f3625fd0d4fb234536d26811351594 # 4.3.0
21+
uses: actions/labeler@8558fd74291d67161a8a78ce36a881fa63b766a9 # 5.0.0
2222
with:
2323
repo-token: "${{ secrets.GITHUB_TOKEN }}"
2424
dot: true

0 commit comments

Comments
 (0)