Skip to content

Commit bc2b31e

Browse files
committed
add permissions to the bot
1 parent 9584b76 commit bc2b31e

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/uml.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
name: Update the UML Diagrams
22

3+
permissions: write-all
4+
35
on:
46
pull_request:
57
branches: [main]
@@ -45,5 +47,5 @@ jobs:
4547
git commit -m "Update UML Diagrams"
4648
git push origin HEAD:${GITHUB_HEAD_REF}
4749
fi
48-
env:
50+
env:
4951
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)