diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-21 11:54:28 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-21 11:54:28 +0000 |
commit | e6918187568dbd01842d8d1d2c808ce16a894239 (patch) | |
tree | 64f88b554b444a49f656b6c656111a145cbbaa28 /.github/workflows/needs-rebase.yml | |
parent | Initial commit. (diff) | |
download | ceph-e6918187568dbd01842d8d1d2c808ce16a894239.tar.xz ceph-e6918187568dbd01842d8d1d2c808ce16a894239.zip |
Adding upstream version 18.2.2.upstream/18.2.2
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '.github/workflows/needs-rebase.yml')
-rw-r--r-- | .github/workflows/needs-rebase.yml | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/.github/workflows/needs-rebase.yml b/.github/workflows/needs-rebase.yml new file mode 100644 index 000000000..d9e2c706f --- /dev/null +++ b/.github/workflows/needs-rebase.yml @@ -0,0 +1,18 @@ +--- +name: "Pull Request Needs Rebase?" +on: + pull_request_target: + types: [opened, synchronize, reopened] +jobs: + needs-rebase: + runs-on: ubuntu-latest + steps: + # eps1lon/actions-label-merge-conflict@v2.0.1 + # (NOTE: pinning the action to a given commit is a security best-practice: + # https://docs.github.com/en/free-pro-team@latest/actions/learn-github-actions/security-hardening-for-github-actions) + - name: Check if PR needs rebase + uses: eps1lon/actions-label-merge-conflict@b8bf8341285ec9a4567d4318ba474fee998a6919 + with: + repoToken: "${{ secrets.GITHUB_TOKEN }}" + dirtyLabel: "needs-rebase" + commentOnDirty: "This pull request can no longer be automatically merged: a rebase is needed and changes have to be manually resolved" |