workflows/teams: restrict to NixOS org
without the restriction the workflow would trigger on all forks, but it is only relevant on NixOS/nixpkgs
This commit is contained in:
1
.github/workflows/teams.yml
vendored
1
.github/workflows/teams.yml
vendored
@@ -14,6 +14,7 @@ defaults:
|
|||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
sync:
|
sync:
|
||||||
|
if: github.event_name != 'schedule' || github.repository_owner == 'NixOS'
|
||||||
runs-on: ubuntu-24.04-arm
|
runs-on: ubuntu-24.04-arm
|
||||||
steps:
|
steps:
|
||||||
# Use a GitHub App to create the PR so that CI gets triggered and to
|
# Use a GitHub App to create the PR so that CI gets triggered and to
|
||||||
|
|||||||
Reference in New Issue
Block a user