Skip to content

doc(conventional-commits): fix reusable workflow path #8

doc(conventional-commits): fix reusable workflow path

doc(conventional-commits): fix reusable workflow path #8

name: "Lint PR"
on:
workflow_call:
secrets:
GITHUB_TOKEN:

Check failure on line 6 in .github/workflows/conventional-commits.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/conventional-commits.yml

Invalid workflow file

secret name `GITHUB_TOKEN` within `workflow_call` can not be used since it would collide with system reserved name
required: true
jobs:
validate-pr-title:
name: Validate PR title
runs-on: ubuntu-latest
permissions:
pull-requests: read
steps:
- uses: amannn/action-semantic-pull-request@v5
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}