10000 ci: add labels workflow · adonisjs/env@bae355c · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Commit bae355c

Browse files
committed
ci: add labels workflow
1 parent ce41d99 commit bae355c

File tree

3 files changed

+15
-172
lines changed

3 files changed

+15
-172
lines changed

.github/labels.json

Lines changed: 0 additions & 170 deletions
This file was deleted.

.github/workflows/labels.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
name: Sync labels
2+
on:
3+
workflow_dispatch:
4+
permissions:
5+
issues: write
6+
jobs:
7+
labels:
8+
runs-on: ubuntu-latest
9+
steps:
10+
- uses: actions/checkout@v4
11+
- uses: EndBug/label-sync@v2
12+
with:
13+
config-file: 'https://raw.githubusercontent.com/thetutlage/static/main/labels.yml'
14+
delete-other-labels: true
15+
token: ${{ secrets.GITHUB_TOKEN }}

package.json

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@
3030
"prepublishOnly": "npm run build",
3131
"lint": "eslint . --ext=.ts",
3232
"format": "prettier --write .",
33-
"sync-labels": "github-label-sync --labels .github/labels.json adonisjs/env",
3433
"quick:test": "node --import=ts-node-maintained/register/esm bin/test.ts"
3534
},
3635
"keywords": [
@@ -60,7 +59,6 @@
6059
"cross-env": "^7.0.3",
6160
"del-cli": "^5.1.0",
6261
"eslint": "^8.56.0",
63-
"github-label-sync": "^2.3.1",
6462
"husky": "^9.0.11",
6563
"prettier": "^3.2.5",
6664
"release-it": "^17.2.0",

0 commit comments

Comments
 (0)
0