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
parent b33fdab0d3
commit d725592cd1
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: