mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 23:13:19 +00:00
.github/workflows/nixos-manual.yml: add permisssions so action runs don't require approval
This commit is contained in:
parent
822266fdfd
commit
0d2757302c
7
.github/workflows/nixos-manual.yml
vendored
7
.github/workflows/nixos-manual.yml
vendored
@ -1,7 +1,9 @@
|
||||
name: NixOS manual checks
|
||||
|
||||
permissions: read-all
|
||||
|
||||
on:
|
||||
pull_request:
|
||||
pull_request_target:
|
||||
branches-ignore:
|
||||
- 'release-**'
|
||||
paths:
|
||||
@ -14,6 +16,9 @@ jobs:
|
||||
if: github.repository_owner == 'NixOS'
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
with:
|
||||
# pull_request_target checks out the base branch by default
|
||||
ref: refs/pull/${{ github.event.pull_request.number }}/merge
|
||||
- uses: cachix/install-nix-action@v12
|
||||
- name: Check DocBook files generated from Markdown are consistent
|
||||
run: |
|
||||
|
Loading…
Reference in New Issue
Block a user