diff --git a/.github/workflows/validate-description.yml b/.github/workflows/validate-description.yml index e2b7cb5..796bb13 100644 --- a/.github/workflows/validate-description.yml +++ b/.github/workflows/validate-description.yml @@ -1,7 +1,10 @@ name: validate description on: - pull_request: + # pull_request_target is meant to run on bot commits. + # Do check out and run code from the pull request's head commit. + # It is suitable for this usecase as we are only looking at PR description. + pull_request_target: types: [opened, synchronize, reopened, edited] jobs: