# HG changeset patch # User Sebastien Jodogne # Date 1786349903 -7200 # Node ID 47e6b454ef43a296ee3cdd5b92ef8dac661e00a5 # Parent 6738d2e85766ad8569c2f8e1dc537b9de23ba7a6 only execute github action from the expected mirror repo diff -r 6738d2e85766 -r 47e6b454ef43 .github/workflows/mirror.yml --- a/.github/workflows/mirror.yml Fri Aug 07 07:43:54 2026 +0200 +++ b/.github/workflows/mirror.yml Mon Aug 10 10:18:23 2026 +0200 @@ -2,7 +2,7 @@ env: HG_SOURCE_URL: https://orthanc.uclouvain.be/hg/orthanc-authorization/ - GITHUB_TARGET: jodogne/mirror-orthanc-authorization.git + GITHUB_TARGET: jodogne/mirror-orthanc-authorization FAST_EXPORT_VERSION: fast-export-260405 on: @@ -19,6 +19,7 @@ jobs: mirror: + if: ${{ github.repository == 'jodogne/mirror-orthanc-authorization' }} runs-on: ubuntu-slim steps: - name: Install Mercurial and fast-export