Skip to content

feat: pin GitHub Actions to SHA digests and add pin-check workflow #9

feat: pin GitHub Actions to SHA digests and add pin-check workflow

feat: pin GitHub Actions to SHA digests and add pin-check workflow #9

name: Conventional Commits
on:
pull_request:
branches: ["main"]
types: [opened, edited, synchronize, reopened]
permissions:
pull-requests: read
jobs:
pr-title:
name: PR Title
runs-on: ubuntu-latest
steps:
- uses: amannn/action-semantic-pull-request@e32d7e603df1aa1ba07e981f2a23455dee596825 # v5
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
types: |
feat
fix
docs
chore
refactor
test
ci
perf
revert
requireScope: false
commitlint:
name: Commit Messages
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
with:
fetch-depth: 0
- uses: wagoid/commitlint-github-action@b948419dd99f3fd78a6548d48f94e3df7f6bf3ed # v6
with:
configFile: .commitlintrc.yml