Skip to content

Commit

Permalink
Add CI job to label PRs with merge conflicts (mastodon#22020)
Browse files Browse the repository at this point in the history
  • Loading branch information
nschonni authored Dec 9, 2022
1 parent 64bea71 commit e8481e6
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .github/workflows/rebase-needed.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: PR Needs Rebase

on:
push:
pull_request_target:
types: [synchronize]

jobs:
label-rebase-needed:
runs-on: ubuntu-latest
steps:
- name: Check for merge conflicts
uses: eps1lon/actions-label-merge-conflict@releases/2.x
with:
dirtyLabel: 'rebase needed :construction:'
repoToken: '${{ secrets.GITHUB_TOKEN }}'
commentOnDirty: This pull request has merge conflicts that must be resolved before it can be merged.

0 comments on commit e8481e6

Please sign in to comment.