diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 2c86c6dcb..aadda50df 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -15,11 +15,12 @@ on: tag: description: "The tag to create (optional)" required: false - pull_request_target: + pull_request: types: - opened - reopened - synchronize + - ready_for_review paths-ignore: - "**.md" - "**.yml" @@ -143,7 +144,7 @@ jobs: github.event.review.state == 'approved' ) || github.event_name == 'workflow_dispatch' || - github.event_name == 'pull_request_target' || + github.event_name == 'pull_request' || ( contains(' refs/heads/master