Skip to content

Commit dbb4318

Browse files
committed
ci: update workflow
1 parent f43a973 commit dbb4318

File tree

1 file changed

+0
-32
lines changed

1 file changed

+0
-32
lines changed

.github/workflows/pr-autoscan.yml

Lines changed: 0 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -65,38 +65,6 @@ jobs:
6565
# however this isnt available for 'issue_comment'
6666
# ---------------------------------------------------------------------------------------
6767

68-
- name: 🏷️ Verify Existing Labels
69-
uses: actions/github-script@v7
70-
with:
71-
github-token: ${{ secrets.ADMINSERV_TOKEN_CL }}
72-
script: |
73-
const labels = JSON.parse( process.env.LABELS_JSON );
74-
for ( const label of labels )
75-
{
76-
try
77-
{
78-
await github.rest.issues.createLabel(
79-
{
80-
owner: context.repo.owner,
81-
repo: context.repo.repo,
82-
name: label.name,
83-
description: label.description || '',
84-
color: label.color
85-
});
86-
}
87-
catch ( err )
88-
{
89-
if ( err.status === 422 )
90-
{
91-
console.log( `Label '${label.name}' already exists. Skipping.` );
92-
}
93-
else
94-
{
95-
console.error( `Error creating label '${label.name}': ${err}` );
96-
}
97-
}
98-
}
99-
10068
# ---------------------------------------------------------------------------------------
10169
# get issue number
10270
# ---------------------------------------------------------------------------------------

0 commit comments

Comments
 (0)