diff --git a/.github/workflows/auto-approve.yaml b/.github/workflows/auto-approve.yaml index 01f56f64..7f274bf6 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 a8042797..a89ac15d 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: remove-pr-preview-comment: