File tree Expand file tree Collapse file tree 1 file changed +34
-0
lines changed
Expand file tree Collapse file tree 1 file changed +34
-0
lines changed Original file line number Diff line number Diff line change 1+ # This is a basic workflow to help you get started with Actions
2+
3+ name : PullRequestConflicting
4+
5+ # Controls when the action will run. Triggers the workflow on push or pull request
6+ # events but only for the master branch
7+ on :
8+ push :
9+ branches : [ master, dev ]
10+ pull_request :
11+ types : [synchronize]
12+ branches : [ master, dev ]
13+
14+ # A workflow run is made up of one or more jobs that can run sequentially or in parallel
15+ jobs :
16+ # This workflow contains a single job called "build"
17+ build :
18+ # The type of runner that the job will run on
19+ runs-on : ubuntu-latest
20+
21+ # Steps represent a sequence of tasks that will be executed as part of the job
22+ steps :
23+ - name : check if prs are dirty
24+ uses : eps1lon/actions-label-merge-conflict@releases/2.x
25+ if : env.LABELING_TOKEN != '' && env.LABELING_TOKEN != null
26+ id : check
27+ with :
28+ dirtyLabel : " conflicting"
29+ repoToken : " ${{ secrets.GITHUB_TOKEN }}"
30+ continueOnMissingPermissions : true
31+ commentOnDirty : ' This pull request has conflicting changes, the author must resolve the conflicts before this pull request can be merged.'
32+ commentOnClean : ' Conflicts have been resolved. A maintainer will take a look shortly.'
33+ env :
34+ LABELING_TOKEN : ${{secrets.GITHUB_TOKEN }}
You can’t perform that action at this time.
0 commit comments