-
-
Notifications
You must be signed in to change notification settings - Fork 237
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Label PRs with merge conflicts (#2468)
- Loading branch information
1 parent
f5803a0
commit 6bb8a2c
Showing
1 changed file
with
23 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
name: "Label conflicting PRs" | ||
on: | ||
push: | ||
pull_request_target: | ||
types: [ synchronize ] | ||
pull_request: | ||
types: [ synchronize ] | ||
|
||
permissions: | ||
pull-requests: write | ||
|
||
jobs: | ||
main: | ||
if: github.event.pull_request.user.login != 'dependabot[bot]' | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Label conflicting PRs | ||
uses: eps1lon/actions-label-merge-conflict@v2.1.0 | ||
with: | ||
dirtyLabel: "unresolved-merge-conflict" | ||
repoToken: "${{ secrets.GITHUB_TOKEN }}" | ||
commentOnDirty: "Please take a moment and address the merge conflicts of your pull request. Thanks!" | ||
continueOnMissingPermissions: true |