File: needs-rebase.yml

package info (click to toggle)
ceph 18.2.8%2Bds-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,186,356 kB
  • sloc: cpp: 6,282,106; ansic: 3,507,390; python: 375,284; asm: 216,381; java: 133,450; sh: 125,595; xml: 39,398; ruby: 32,026; makefile: 29,004; javascript: 23,994; cs: 18,980; perl: 9,709; sql: 7,833; lisp: 5,920; pascal: 3,109; ada: 1,681; yacc: 478; awk: 188; f90: 55; php: 1
file content (18 lines) | stat: -rw-r--r-- 804 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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"