Skip to content

Commit

Permalink
Merge pull request #98 from bennerv/add-rebase-gh-actions
Browse files Browse the repository at this point in the history
Add maintenance gh action to check for needed rebase
  • Loading branch information
mbarnes authored May 7, 2024
2 parents 5401dc9 + 7f81fe3 commit 3adb3c6
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/maintenance.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Maintenance

on:
push:
pull_request_target:
types:
- synchronize

permissions:
contents: read
pull-requests: write

jobs:
main:
runs-on: ubuntu-latest
steps:
- name: check if prs are dirty
uses: eps1lon/actions-label-merge-conflict@releases/2.x
with:
dirtyLabel: needs-rebase
removeOnDirtyLabel: ready-for-review
repoToken: "${{ secrets.GITHUB_TOKEN }}"
commentOnDirty: "Please rebase pull request."

0 comments on commit 3adb3c6

Please sign in to comment.