Skip to content

Commit d783cf0

Browse files
committed
adjust labeler
1 parent b41947e commit d783cf0

File tree

2 files changed

+6
-10
lines changed

2 files changed

+6
-10
lines changed

.github/labeler.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
version: 1
22
labels:
33
- label: "automerge"
4-
author: "(scala-steward|renovate\\[bot\\])"
4+
authors: ["scala-steward", "app/renovate"]
55
- label: "auto-approve"
6-
author: "(scala-steward|renovate\\[bot\\])"
6+
authors: ["scala-steward", "app/renovate"]

.github/workflows/pr-labeler.yml

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,7 @@
11
name: Label PR
22

33
on:
4-
pull_request_target:
5-
types:
6-
- reopened
7-
- opened
4+
pull_request_target: {}
85

96
jobs:
107
pr-labeler:
@@ -13,7 +10,6 @@ jobs:
1310
contents: read
1411
pull-requests: write
1512
steps:
16-
- uses: TimonVS/pr-labeler-action@v4
17-
with:
18-
repo-token: ${{ secrets.GITHUB_TOKEN }}
19-
configuration-path: .github/pr-labeler.yml
13+
- uses: srvaroa/labeler@v1
14+
env:
15+
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"

0 commit comments

Comments
 (0)