Skip to content

Commit 8944529

Browse files
authored
chore: streamline workflows (#154)
1 parent b25a3b5 commit 8944529

File tree

3 files changed

+9
-5
lines changed

3 files changed

+9
-5
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
name: CI
2+
23
permissions:
34
contents: read
45

.github/workflows/label-issues.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,17 @@
11
name: Label issues
2+
3+
permissions:
4+
issues: write
5+
26
on:
37
issues:
48
types:
59
- reopened
610
- opened
11+
712
jobs:
813
label_issues:
914
runs-on: ubuntu-latest
10-
permissions:
11-
issues: write
1215
steps:
1316
- run: gh issue edit "$NUMBER" --add-label "$LABELS"
1417
env:

.github/workflows/release.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
name: Release
22

3-
on:
4-
workflow_dispatch:
5-
63
permissions:
74
contents: write
85

6+
on:
7+
workflow_dispatch:
8+
99
jobs:
1010
publish-npm:
1111
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)