# HG changeset patch # User Sebastien Jodogne # Date 1786350404 -7200 # Node ID abaaac21aac55a2f0f7dc1629b490e188d966cf4 # Parent 1b2c7db8208d72e3018ac52fe2d73f9ecdfea9b2 only execute github action from the expected mirror repo diff -r 1b2c7db8208d -r abaaac21aac5 .github/workflows/mirror.yml --- a/.github/workflows/mirror.yml Fri Aug 07 08:58:46 2026 +0200 +++ b/.github/workflows/mirror.yml Mon Aug 10 10:26:44 2026 +0200 @@ -2,7 +2,7 @@ env: HG_SOURCE_URL: https://orthanc.uclouvain.be/hg/orthanc-python/ - GITHUB_TARGET: jodogne/mirror-orthanc-python.git + GITHUB_TARGET: jodogne/mirror-orthanc-python FAST_EXPORT_VERSION: fast-export-260405 on: @@ -19,6 +19,7 @@ jobs: mirror: + if: ${{ github.repository == 'jodogne/mirror-orthanc-python' }} runs-on: ubuntu-slim steps: - name: Install Mercurial and fast-export