Skip to content

Commit e8a88de

Browse files
added labeling of community issues and PRs
1 parent 8551efb commit e8a88de

File tree

1 file changed

+13
-1
lines changed

1 file changed

+13
-1
lines changed

.github/workflows/labeler.yml

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name: "Issue Labeler"
22
on:
33
issues:
4-
types: [opened, edited]
4+
types: [opened]
55
pull_request_target:
66
types: [opened]
77

@@ -14,3 +14,15 @@ jobs:
1414
repo-token: "${{ secrets.GITHUB_TOKEN }}"
1515
configuration-path: .github/labeler-config.yml
1616
enable-versioned-regex: 0
17+
- uses: AlexanderWert/get-user-teams-membership@v1
18+
id: checkUserMember
19+
with:
20+
username: ${{ github.actor }}
21+
team: 'apm'
22+
GITHUB_TOKEN: ${{ secrets.APM_TECH_USER_TOKEN }}
23+
- if: ${{ !steps.checkUserMember.outputs.isTeamMember }}
24+
uses: AlexanderWert/[email protected]
25+
with:
26+
repo-token: "${{ secrets.GITHUB_TOKEN }}"
27+
configuration-path: .github/community-label.yml
28+
enable-versioned-regex: 0

0 commit comments

Comments
 (0)