Skip to content

Commit ffb5e57

Browse files
authored
Update add-to-board.yml (#1195)
1 parent b729c6d commit ffb5e57

File tree

1 file changed

+13
-16
lines changed

1 file changed

+13
-16
lines changed

.github/workflows/add-to-board.yml

+13-16
Original file line numberDiff line numberDiff line change
@@ -11,25 +11,22 @@ permissions:
1111
jobs:
1212
route:
1313
runs-on: ubuntu-latest
14-
if: >
15-
contains(
16-
[
17-
'team:Obs',
18-
'team:Security',
19-
'team:Platform',
20-
'team:DocsEng',
21-
'team:Projects'
22-
],
23-
github.event.label.name
24-
)
14+
if: |
15+
github.event.label.name == 'team:DocsEng' ||
16+
github.event.label.name == 'team:Obs' ||
17+
github.event.label.name == 'team:Platform' ||
18+
github.event.label.name == 'team:Projects' ||
19+
github.event.label.name == 'team:Search' ||
20+
github.event.label.name == 'team:Security'
2521
env:
2622
PROJECT_ID_MAP: |
2723
{
28-
"team:Obs": "649",
29-
"team:Security": "1034",
30-
"team:Platform": "1232",
31-
"team:DocsEng": "1625",
32-
"team:Projects": "1415"
24+
"team:DocsEng": "1625",
25+
"team:Obs": "649",
26+
"team:Platform": "1232",
27+
"team:Projects": "1415",
28+
"team:Search": "726",
29+
"team:Security": "1034"
3330
}
3431
steps:
3532
- name: Remove needs-team label

0 commit comments

Comments
 (0)