From bb323ae2966dd2005177e58d105e1525c13d16a9 Mon Sep 17 00:00:00 2001 From: Mahmoud Mazouz Date: Fri, 26 Jan 2024 09:08:10 +0100 Subject: [PATCH] Improve project mangement (follow-up) (#676) * fix: Incorrect reply destructuring * fix: Use `pull_request_target` --- .github/workflows/enforce-linking-issues.yml | 2 +- .github/workflows/update-release-project.yml | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/enforce-linking-issues.yml b/.github/workflows/enforce-linking-issues.yml index 7129050a46..de9ae7cc8b 100644 --- a/.github/workflows/enforce-linking-issues.yml +++ b/.github/workflows/enforce-linking-issues.yml @@ -1,7 +1,7 @@ name: Enforce linking issues to pull requests on: - pull_request: + pull_request_target: types: [opened, edited, labeled] workflow_call: diff --git a/.github/workflows/update-release-project.yml b/.github/workflows/update-release-project.yml index b4101167b5..ad0485fed3 100644 --- a/.github/workflows/update-release-project.yml +++ b/.github/workflows/update-release-project.yml @@ -60,7 +60,6 @@ jobs: const login = "${{ github.event.issue.user.login }}"; const result = contributors - .data .map(c => c.login) .includes(login);