From 2777d30caa3e69c7d06475a0fa72fe3216ae685a Mon Sep 17 00:00:00 2001 From: UdjinM6 Date: Mon, 12 Aug 2024 16:06:33 +0300 Subject: [PATCH] fix(ci): only run some GH actions on PR approval, not on every comment --- .github/workflows/merge-check.yml | 3 ++- .github/workflows/predict-conflicts.yml | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/merge-check.yml b/.github/workflows/merge-check.yml index caaa98863e..da15a7535d 100644 --- a/.github/workflows/merge-check.yml +++ b/.github/workflows/merge-check.yml @@ -6,7 +6,8 @@ permissions: on: - push - pull_request_target - - pull_request_review + - pull_request_review: + types: [submitted] jobs: check_merge: diff --git a/.github/workflows/predict-conflicts.yml b/.github/workflows/predict-conflicts.yml index d5f19b2605..13ddeb5937 100644 --- a/.github/workflows/predict-conflicts.yml +++ b/.github/workflows/predict-conflicts.yml @@ -1,7 +1,8 @@ name: "Check Potential Conflicts" on: - pull_request_target - - pull_request_review + - pull_request_review: + types: [submitted] permissions: contents: read