actions: add some permission restrictions
This commit is contained in:
parent
b7e08de1e9
commit
9d95ba3dd6
4
.github/workflows/labels.yml
vendored
4
.github/workflows/labels.yml
vendored
@ -4,6 +4,10 @@ on:
|
||||
pull_request_target:
|
||||
types: [edited, opened, synchronize, reopened]
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
pull-requests: write
|
||||
|
||||
jobs:
|
||||
labels:
|
||||
runs-on: ubuntu-latest
|
||||
|
2
.github/workflows/manual-nixos.yml
vendored
2
.github/workflows/manual-nixos.yml
vendored
@ -1,5 +1,7 @@
|
||||
name: "Build NixOS manual"
|
||||
|
||||
permissions: read-all
|
||||
|
||||
on:
|
||||
pull_request_target:
|
||||
branches:
|
||||
|
2
.github/workflows/manual-nixpkgs.yml
vendored
2
.github/workflows/manual-nixpkgs.yml
vendored
@ -1,5 +1,7 @@
|
||||
name: "Build Nixpkgs manual"
|
||||
|
||||
permissions: read-all
|
||||
|
||||
on:
|
||||
pull_request_target:
|
||||
branches:
|
||||
|
Loading…
Reference in New Issue
Block a user