3
0
Fork 0
forked from mirrors/nixpkgs

actions: add some permission restrictions

This commit is contained in:
Graham Christensen 2021-04-24 13:05:17 -04:00
parent b7e08de1e9
commit 9d95ba3dd6
3 changed files with 8 additions and 0 deletions

View file

@ -4,6 +4,10 @@ on:
pull_request_target: pull_request_target:
types: [edited, opened, synchronize, reopened] types: [edited, opened, synchronize, reopened]
permissions:
contents: read
pull-requests: write
jobs: jobs:
labels: labels:
runs-on: ubuntu-latest runs-on: ubuntu-latest

View file

@ -1,5 +1,7 @@
name: "Build NixOS manual" name: "Build NixOS manual"
permissions: read-all
on: on:
pull_request_target: pull_request_target:
branches: branches:

View file

@ -1,5 +1,7 @@
name: "Build Nixpkgs manual" name: "Build Nixpkgs manual"
permissions: read-all
on: on:
pull_request_target: pull_request_target:
branches: branches: