From faa94c4fd1aaff47d4c834814048f87655959c23 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?nils=20m=C3=A5s=C3=A9n?= Date: Fri, 14 Oct 2022 12:26:37 +0200 Subject: [PATCH] ci: use pull_request_target for greeting --- .github/workflows/greetings.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/greetings.yml b/.github/workflows/greetings.yml index cf3b5a0..83ff8a0 100644 --- a/.github/workflows/greetings.yml +++ b/.github/workflows/greetings.yml @@ -1,10 +1,11 @@ name: Greetings on: - pull_request: {} + # Runs in the context of the target (containrrr/watchtower) repository, and as such has access to GITHUB_TOKEN + pull_request_target: + types: [opened] issues: - types: - - opened + types: [opened] jobs: greeting: