From a0033f60dfda4baaf29ab85da8eda4e303788346 Mon Sep 17 00:00:00 2001 From: Tobias Giese Date: Tue, 16 Jul 2024 10:39:28 +0200 Subject: [PATCH] ci: sent ci-triggers comment only once on PR open or reopen If we specify a type we can stop the Github Actions bot from resending the ci-triggers list to open PRs on every HEAD change. > [...] if no activity types are specified, the workflow runs when a pull request is opened or reopened or when the head branch of the pull request is updated. Signed-off-by: Tobias Giese --- .github/workflows/pr-ci-triggers.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/pr-ci-triggers.yml b/.github/workflows/pr-ci-triggers.yml index 6efc6d1639..543b362c49 100644 --- a/.github/workflows/pr-ci-triggers.yml +++ b/.github/workflows/pr-ci-triggers.yml @@ -1,5 +1,6 @@ on: - pull_request_target: + pull_request: + types: [opened, reopened] jobs: vendors-ci-triggers-list: