.github/workflows/manual-{nixos,nixpkgs}.yml: add `repository_owner` condition

We have this set in the other actions, it prevents the action from
running in PRs made against forks.
master
zowoq 2021-05-27 10:10:50 +10:00
parent 7233acd515
commit 67a8283653
2 changed files with 2 additions and 0 deletions

View File

@ -12,6 +12,7 @@ on:
jobs:
nixos:
runs-on: ubuntu-latest
if: github.repository_owner == 'NixOS'
steps:
- uses: actions/checkout@v2
with:

View File

@ -12,6 +12,7 @@ on:
jobs:
nixpkgs:
runs-on: ubuntu-latest
if: github.repository_owner == 'NixOS'
steps:
- uses: actions/checkout@v2
with: