Skip to content

conventional-commits by @renovate[bot] #57

conventional-commits by @renovate[bot]

conventional-commits by @renovate[bot] #57

name: conventional-commits
run-name: conventional-commits by @${{ github.actor }}
on:
pull_request:
types: [ opened, reopened, edited, synchronize ]
push:
branches: [ main ]
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.ref }}
cancel-in-progress: ${{ github.event_name == 'pull_request' }}
jobs:
check-pr-title:
if: github.event_name == 'pull_request' && github.event.action != 'synchronize'
runs-on: ubuntu-slim
permissions:
pull-requests: read
steps:
- uses: amannn/action-semantic-pull-request@v6
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
check-commits:
if: github.event_name == 'push' || github.event_name == 'pull_request' && github.event.action != 'edited'
runs-on: ubuntu-latest
permissions:
contents: read
pull-requests: read
steps:
- uses: actions/checkout@v6
- uses: wagoid/commitlint-github-action@v6