Skip to content

Commit 0bf28b2

Browse files
authored
Merge pull request #764 from paulbalandan/no-merge-commits
chore: add no-merge-commits.yml
2 parents 059f63c + 1464165 commit 0bf28b2

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
name: Detect Merge Commits
2+
3+
on:
4+
pull_request:
5+
6+
permissions:
7+
contents: read
8+
pull-requests: read
9+
10+
jobs:
11+
test:
12+
name: Check for merge commits
13+
runs-on: ubuntu-22.04
14+
15+
steps:
16+
- name: Checkout
17+
uses: actions/checkout@v3
18+
19+
- name: Run test
20+
uses: NexusPHP/[email protected]
21+
with:
22+
token: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)