# HG changeset patch # User Sebastien Jodogne # Date 1786349874 -7200 # Node ID a1a7522036f358bed1ce39b468f420a4d1f84f6e # Parent 4bcab289deb682fc7881f48914a5ee71d83abeb3 only execute github action from the expected mirror repo diff -r 4bcab289deb6 -r a1a7522036f3 .github/workflows/mirror.yml --- a/.github/workflows/mirror.yml Sat Aug 08 13:55:07 2026 +0200 +++ b/.github/workflows/mirror.yml Mon Aug 10 10:17:54 2026 +0200 @@ -2,7 +2,7 @@ env: HG_SOURCE_URL: https://orthanc.uclouvain.be/hg/orthanc-education/ - GITHUB_TARGET: jodogne/mirror-orthanc-education.git + GITHUB_TARGET: jodogne/mirror-orthanc-education FAST_EXPORT_VERSION: fast-export-260405 on: @@ -19,6 +19,7 @@ jobs: mirror: + if: ${{ github.repository == 'jodogne/mirror-orthanc-education' }} runs-on: ubuntu-slim steps: - name: Install Mercurial and fast-export