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({