Skip to content

ci: input to semantic pr lint workflow #1

ci: input to semantic pr lint workflow

ci: input to semantic pr lint workflow #1

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

Check failure on line 6 in .github/workflows/semantic-pull-requests.yaml

View workflow run for this annotation

GitHub Actions / .github/workflows/semantic-pull-requests.yaml

Invalid workflow file

secret name `GITHUB_TOKEN` within `workflow_call` can not be used since it would collide with system reserved name
description: "GitHub Token for authentication"
required: true
permissions:
pull-requests: write
jobs:
main:
name: Validate PR title
runs-on: ubuntu-latest
steps:
- name: Use semantic pull request action
uses: amannn/action-semantic-pull-request@v5
with:
wip: true
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}