# HG changeset patch # User Sebastien Jodogne # Date 1786349989 -7200 # Node ID b0baae12f83cb15d4ba7c214e3dee5f2330e0e3d # Parent cc5810977091b60a217dff5614009c198940aa89 only execute github action from the expected mirror repo diff -r cc5810977091 -r b0baae12f83c .github/workflows/mirror.yml --- a/.github/workflows/mirror.yml Fri Aug 07 07:48:21 2026 +0200 +++ b/.github/workflows/mirror.yml Mon Aug 10 10:19:49 2026 +0200 @@ -2,7 +2,7 @@ env: HG_SOURCE_URL: https://orthanc.uclouvain.be/hg/orthanc-book/ - GITHUB_TARGET: jodogne/mirror-orthanc-book.git + GITHUB_TARGET: jodogne/mirror-orthanc-book FAST_EXPORT_VERSION: fast-export-260405 on: @@ -19,6 +19,7 @@ jobs: mirror: + if: ${{ github.repository == 'jodogne/mirror-orthanc-book' }} runs-on: ubuntu-slim steps: - name: Install Mercurial and fast-export