diff --git a/.github/workflows/lint_pr_title.yml b/.github/workflows/lint_pr_title.yml index 03232e78f6..258d11400c 100644 --- a/.github/workflows/lint_pr_title.yml +++ b/.github/workflows/lint_pr_title.yml @@ -1,6 +1,7 @@ name: Lint PR title on: + merge_group: pull_request_target: types: - opened @@ -10,6 +11,8 @@ on: jobs: main: name: Validate PR title + # Skip step for events that are not pull request targets as it currenlty fails when ran in the merge queue + if: github.event_name == 'pull_request_target' runs-on: ubuntu-latest steps: - uses: amannn/action-semantic-pull-request@v5