Add PR auto-labeling for merge conflicts
This commit is contained in:
parent
3faed45694
commit
0ec5e37286
1 changed files with 19 additions and 0 deletions
19
.github/workflows/pr-auto-label.yml
vendored
Normal file
19
.github/workflows/pr-auto-label.yml
vendored
Normal file
|
@ -0,0 +1,19 @@
|
||||||
|
name: Automatic PR labels
|
||||||
|
|
||||||
|
on:
|
||||||
|
push: {}
|
||||||
|
|
||||||
|
pull_request_target:
|
||||||
|
types: [opened, synchronize, reopened]
|
||||||
|
|
||||||
|
workflow_dispatch: {}
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
needs-rebase:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- name: Check if PR needs rebase
|
||||||
|
uses: eps1lon/actions-label-merge-conflict@9023974d0f6f2c9664f51f519363e03d70857188
|
||||||
|
with:
|
||||||
|
repoToken: "${{ secrets.GITHUB_TOKEN }}"
|
||||||
|
dirtyLabel: "needs-rebase"
|
Loading…
Add table
Reference in a new issue