aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhannibal2 <24389977+hannibal00212@users.noreply.github.com>2024-07-07 01:40:15 +0200
committerhannibal2 <24389977+hannibal00212@users.noreply.github.com>2024-07-07 01:40:15 +0200
commit213baa31db08c82be7fb6f4ef7241cc9bbcf79a4 (patch)
tree4042e6d9f3f4bae6163f43169ac54129a7a647a0
parent74e19f106e5e4e975fbed25b676c52eec9de1cb9 (diff)
downloadskyhanni-213baa31db08c82be7fb6f4ef7241cc9bbcf79a4.tar.gz
skyhanni-213baa31db08c82be7fb6f4ef7241cc9bbcf79a4.tar.bz2
skyhanni-213baa31db08c82be7fb6f4ef7241cc9bbcf79a4.zip
fix label bug fix v6
-rw-r--r--.github/workflows/label-bug-fix.yml8
1 files changed, 6 insertions, 2 deletions
diff --git a/.github/workflows/label-bug-fix.yml b/.github/workflows/label-bug-fix.yml
index 20c3aec4f..f25633f75 100644
--- a/.github/workflows/label-bug-fix.yml
+++ b/.github/workflows/label-bug-fix.yml
@@ -1,7 +1,11 @@
name: "Bug Fix label"
on:
pull_request:
- types: [ opened, edited ]
+ types: [ opened, edited, labeled ]
+
+permissions:
+ issues: write
+
jobs:
assign-label:
runs-on: ubuntu-latest
@@ -12,7 +16,7 @@ jobs:
LABEL: Bug Fix - Sooner than Very Soon
uses: actions/github-script@v7
with:
- repoToken: "${{ secrets.GITHUB_TOKEN }}"
+ github-token: "${{ secrets.GITHUB_TOKEN }}"
script: |
if(process.env.TITLE.split(":")[0].toUpperCase().includes("FIX")){
github.rest.issues.addLabels({