From 6ec1b9b3f5721b7f6b61d0b6438ad8e35e0cb0b2 Mon Sep 17 00:00:00 2001 From: Andras Bacsai Date: Thu, 19 Sep 2024 12:47:35 +0200 Subject: [PATCH] disable remove labels for issues --- .github/workflows/remove-labels-and-assignees-on-close.yml | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/.github/workflows/remove-labels-and-assignees-on-close.yml b/.github/workflows/remove-labels-and-assignees-on-close.yml index 04d62623c..723d03685 100644 --- a/.github/workflows/remove-labels-and-assignees-on-close.yml +++ b/.github/workflows/remove-labels-and-assignees-on-close.yml @@ -3,10 +3,6 @@ name: Remove Labels and Assignees on Issue Close on: issues: types: [closed] - pull_request: - types: [closed] - pull_request_target: - types: [closed] jobs: remove-labels-and-assignees: @@ -18,7 +14,7 @@ jobs: github-token: ${{ secrets.GITHUB_TOKEN }} script: | const { owner, repo } = context.repo; - + async function processIssue(issueNumber) { try { const { data: currentLabels } = await github.rest.issues.listLabelsOnIssue({