workflows/periodic-merge: move fork condition to calling workflow

Apparently the skipping needs to happen on the calling workflow,
otherwise those workflows show up as "failed" in forks instead of
skipped.
This commit is contained in:
Wolfgang Walther 2025-01-12 13:41:05 +01:00
commit d725592cd1
No known key found for this signature in database
GPG key ID: B39893FA5F65CAE1
3 changed files with 2 additions and 1 deletions

View file

@ -20,6 +20,7 @@ permissions:
jobs:
periodic-merge:
if: github.repository_owner == 'NixOS'
strategy:
# don't fail fast, so that all pairs are tried
fail-fast: false

View file

@ -20,6 +20,7 @@ permissions:
jobs:
periodic-merge:
if: github.repository_owner == 'NixOS'
strategy:
# don't fail fast, so that all pairs are tried
fail-fast: false

View file

@ -14,7 +14,6 @@ on:
jobs:
merge:
if: github.repository_owner == 'NixOS'
runs-on: ubuntu-24.04
name: ${{ inputs.from }} → ${{ inputs.into }}
steps: