From 1079fd72d92073a8f928154d21644257dbd03d2c Mon Sep 17 00:00:00 2001 From: Ashish Padhy <100484401+Shurtu-gal@users.noreply.github.com> Date: Fri, 26 Jan 2024 01:04:22 +0530 Subject: [PATCH] chore: change event in other workflows using secrets --- .github/workflows/maintainer_management.yml | 4 ++-- .github/workflows/tsc_management.yml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/maintainer_management.yml b/.github/workflows/maintainer_management.yml index bbe3334c7..9f255d6f3 100644 --- a/.github/workflows/maintainer_management.yml +++ b/.github/workflows/maintainer_management.yml @@ -1,7 +1,7 @@ name: Maintainer Management Workflow on: - pull_request: + pull_request_target: types: [closed] paths: - 'MAINTAINERS.yaml' @@ -267,4 +267,4 @@ jobs: SLACK_WEBHOOK: ${{secrets.SLACK_CI_FAIL_NOTIFY}} SLACK_TITLE: 🚨 Maintainer Management Workflow failed 🚨 SLACK_MESSAGE: Failed to post a message to new Maintainer - MSG_MINIMAL: true \ No newline at end of file + MSG_MINIMAL: true diff --git a/.github/workflows/tsc_management.yml b/.github/workflows/tsc_management.yml index ea51cf729..806773154 100644 --- a/.github/workflows/tsc_management.yml +++ b/.github/workflows/tsc_management.yml @@ -1,7 +1,7 @@ name: TSC Management Workflow on: - pull_request: + pull_request_target: types: [closed] paths: - 'MAINTAINERS.yaml'