From 3ec36108665bfd1dce6d1b4e38fffce6163d2727 Mon Sep 17 00:00:00 2001 From: Adam DeHaven <2229946+adamdehaven@users.noreply.github.com> Date: Fri, 3 Jan 2025 16:23:28 -0500 Subject: [PATCH] ci: remove pull request target [KHCP-14529] (#400) --- .github/workflows/auto-approve.yaml | 4 +++- .github/workflows/pr-closed.yaml | 5 ++--- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/auto-approve.yaml b/.github/workflows/auto-approve.yaml index 09a742ae..79825ddc 100644 --- a/.github/workflows/auto-approve.yaml +++ b/.github/workflows/auto-approve.yaml @@ -5,7 +5,9 @@ permissions: pull-requests: write contents: write -on: pull_request_target +on: + pull_request: + types: ['opened'] jobs: renovate-autoapprove: diff --git a/.github/workflows/pr-closed.yaml b/.github/workflows/pr-closed.yaml index 53f5e17b..6c3cd79e 100644 --- a/.github/workflows/pr-closed.yaml +++ b/.github/workflows/pr-closed.yaml @@ -1,8 +1,7 @@ name: On closing PR on: - pull_request_target: - types: - - closed + pull_request: + types: ['closed'] jobs: unpublish: