disable remove labels for issues
This commit is contained in:
@@ -3,10 +3,6 @@ name: Remove Labels and Assignees on Issue Close
|
|||||||
on:
|
on:
|
||||||
issues:
|
issues:
|
||||||
types: [closed]
|
types: [closed]
|
||||||
pull_request:
|
|
||||||
types: [closed]
|
|
||||||
pull_request_target:
|
|
||||||
types: [closed]
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
remove-labels-and-assignees:
|
remove-labels-and-assignees:
|
||||||
@@ -18,7 +14,7 @@ jobs:
|
|||||||
github-token: ${{ secrets.GITHUB_TOKEN }}
|
github-token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
script: |
|
script: |
|
||||||
const { owner, repo } = context.repo;
|
const { owner, repo } = context.repo;
|
||||||
|
|
||||||
async function processIssue(issueNumber) {
|
async function processIssue(issueNumber) {
|
||||||
try {
|
try {
|
||||||
const { data: currentLabels } = await github.rest.issues.listLabelsOnIssue({
|
const { data: currentLabels } = await github.rest.issues.listLabelsOnIssue({
|
||||||
|
Reference in New Issue
Block a user