From b8a3199d9851e8a4eced849f4fb5e6a75e7f215b Mon Sep 17 00:00:00 2001 From: Anton Troyanov Date: Wed, 17 Jul 2024 11:08:38 +0400 Subject: [PATCH] ci: use `pull_request_target` for cla-check When run on the `pull_request_target` event, `has-signed-canonical-cla` action will also comment on the PR if any authors have not signed the CLA, and update those messages when new commits or runs are processed. --- .github/workflows/cla-check.yml | 4 +--- .github/workflows/{inactiveissue.yml => inactive-issue.yml} | 0 2 files changed, 1 insertion(+), 3 deletions(-) rename .github/workflows/{inactiveissue.yml => inactive-issue.yml} (100%) diff --git a/.github/workflows/cla-check.yml b/.github/workflows/cla-check.yml index f79e0d9..aeef9a8 100644 --- a/.github/workflows/cla-check.yml +++ b/.github/workflows/cla-check.yml @@ -1,8 +1,6 @@ name: cla-check -on: - pull_request: - branches: [master] +on: [pull_request_target] jobs: cla-check: diff --git a/.github/workflows/inactiveissue.yml b/.github/workflows/inactive-issue.yml similarity index 100% rename from .github/workflows/inactiveissue.yml rename to .github/workflows/inactive-issue.yml