Update .github/workflows/backport.yml

Co-authored-by: zowoq <59103226+zowoq@users.noreply.github.com>
This commit is contained in:
Domen Kožar 2021-05-25 07:14:12 +02:00 committed by GitHub
parent 031ea8124c
commit fb3da87aa3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -5,7 +5,7 @@ on:
jobs: jobs:
backport: backport:
name: Create backport PRs name: Create backport PRs
if: github.event.pull_request.merged == true if: github.repository_owner == 'NixOS' && github.event.pull_request.merged == true
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v2.3.4 - uses: actions/checkout@v2.3.4