Skip to content

An open-source, self-hostable PaaS alternative to Vercel, Heroku & Netlify that lets you easily deploy static sites, databases, full-stack applications and 360+ one-click services on your own servers.

disable remove labels for issues

Andras Bacsai6ec1b9b3f572
diff --git a/.github/workflows/remove-labels-and-assignees-on-close.yml b/.github/workflows/remove-labels-and-assignees-on-close.yml
index 04d62623cc..723d036854 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({