Skip to content

Commit

Permalink
chore: add no-merge-commits.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
paulbalandan committed Jul 6, 2023
1 parent 7f4503b commit 1464165
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 1464165

Please sign in to comment.