| 1234567891011121314151617 |
- name: No Merge Commits
- on:
- pull_request:
- branches: [main]
- concurrency:
- group: ${{ github.workflow }}-${{ github.event_name == 'pull_request' && github.head_ref || github.sha }}
- cancel-in-progress: true
- jobs:
- no-merge-commits:
- runs-on: ubuntu-latest
- steps:
- - name: Checkout
- uses: actions/checkout@v4
- - name: Run test
- uses: NexusPHP/no-merge-commits@v2.1.0
- with:
- token: ${{ secrets.GITHUB_TOKEN }}
|