diff --git a/.github/workflows/maintenance.yml b/.github/workflows/maintenance.yml new file mode 100644 index 000000000..e8b350137 --- /dev/null +++ b/.github/workflows/maintenance.yml @@ -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."