thehanimo / pr-title-checker

An action to automatically check if pull request titles conform to Contribution Guidelines
MIT License
109 stars 36 forks source link

Workflow is not triggered when changes are made to the PR #44

Closed luisabez closed 1 year ago

luisabez commented 1 year ago

I'm using this yaml file config, but the workflow is not automatically triggered when I edit the title. Once it's wrong, it can't be fixed and the workflow fails.

name: Lint PR
run-name: Lint PR

on:
  pull_request_target:
    types:
      - opened
      - edited
      - synchronize
      - labeled
      - unlabeled
  merge_group:

jobs:
  lint-pr:
    name: Lint PR

  check:
    runs-on: ubuntu-latest
    steps:

      - name: Check PR title
        uses: thehanimo/pr-title-checker@v1.4.1
        with:
          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}