Skip to content

Commit 1767200

Browse files
committed
fix: event trigger label conflict
1 parent e420c03 commit 1767200

1 file changed

Lines changed: 3 additions & 7 deletions

File tree

.github/workflows/label-conflict.yml

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,5 @@
11
name: Auto Label Conflicts
2-
on:
3-
pull_request:
4-
branches:
5-
- 'develop'
6-
- '4.*'
2+
on: pull_request_target
73

84
concurrency:
95
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
@@ -15,13 +11,13 @@ permissions:
1511
pull-requests: write
1612

1713
jobs:
18-
auto-label:
14+
auto-label-conflict:
1915
runs-on: ubuntu-latest
2016
steps:
2117
- uses: prince-chrismc/label-merge-conflicts-action@v3
2218
with:
2319
conflict_label_name: 'stale'
24-
github_token: ${{ github.token }}
20+
github_token: ${{ secrets.GITHUB_TOKEN }}
2521

2622
# --- Optional Inputs ---
2723
# To make sure the merge commit exactly matches the branch

0 commit comments

Comments
 (0)