Skip to content

[tool] chore(tooling): improve and sync renovate & gh actions #8

[tool] chore(tooling): improve and sync renovate & gh actions

[tool] chore(tooling): improve and sync renovate & gh actions #8

name: "PR Title Check Worker"
on:
pull_request:
types: [opened, edited, reopened, ready_for_review, synchronize]
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@v2
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: guillaumejparis/ci-tools/actions/pr-title-check@1.0.0
with:
github_token: ${{ steps.generate-token.outputs.token }}