mirror of
https://github.com/juanfont/headscale.git
synced 2026-11-24 22:26:29 +09:00
.github: grant workflows only the permissions they use
The repository default token can write; set read and widen per job.
This commit is contained in:
1 parent
b01e8e0980
commit
1dcb57cb8c
8 files changed
+29
-1
No files matched your search
@@ -19,6 +19,9 @@ on:
|
||||
jobs:
|
||||
deploy:
|
||||
runs-on: ubuntu-latest
|
||||
permissions:
|
||||
# mike pushes to gh-pages.
|
||||
contents: write
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v7.0.1
|
||||
|
||||
Reference in new issue
Block a user