docs: improve PR title format hint in PR template and CONTRIBUTING.md (#286) #406
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: "[OpenAEV] Validate PR title Worker" | |
| on: | |
| pull_request: | |
| branches: [main] | |
| types: [opened, edited, reopened, ready_for_review, synchronize] | |
| permissions: | |
| contents: read | |
| jobs: | |
| validate-pr-title: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: "Generate a token" | |
| id: generate-token | |
| if: github.event.pull_request.head.repo.full_name == github.repository | |
| uses: actions/create-github-app-token@v3 | |
| with: | |
| app-id: ${{ secrets.OPENAEV_PR_CHECKS_APP_ID }} | |
| private-key: ${{ secrets.OPENAEV_PR_CHECKS_PRIVATE_KEY }} | |
| - name: "Validate PR title and create check" | |
| uses: FiligranHQ/filigran-ci-tools/actions/pr-title-check@main | |
| with: | |
| token: ${{ steps.generate-token.outputs.token }} |