Skip to content

Commit

Permalink
Merge pull request #764 from paulbalandan/no-merge-commits
Browse files Browse the repository at this point in the history
chore: add no-merge-commits.yml
  • Loading branch information
paulbalandan authored Jul 8, 2023
2 parents 059f63c + 1464165 commit 0bf28b2
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/no-merge-commits.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Detect Merge Commits

on:
pull_request:

permissions:
contents: read
pull-requests: read

jobs:
test:
name: Check for merge commits
runs-on: ubuntu-22.04

steps:
- name: Checkout
uses: actions/checkout@v3

- name: Run test
uses: NexusPHP/[email protected]
with:
token: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 0bf28b2

Please sign in to comment.