changeset 944:261c1fc12e02

only execute github action from the expected mirror repo
author Sebastien Jodogne <s.jodogne@gmail.com>
date Mon, 10 Aug 2026 10:29:53 +0200
parents 98666cc02019
children af8ceed65754
files .github/workflows/mirror.yml
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/.github/workflows/mirror.yml	Fri Aug 07 09:16:42 2026 +0200
+++ b/.github/workflows/mirror.yml	Mon Aug 10 10:29:53 2026 +0200
@@ -2,7 +2,7 @@
 
 env:
   HG_SOURCE_URL: https://orthanc.uclouvain.be/hg/orthanc-tests/
-  GITHUB_TARGET: jodogne/mirror-orthanc-tests.git
+  GITHUB_TARGET: jodogne/mirror-orthanc-tests
   FAST_EXPORT_VERSION: fast-export-260405
 
 on:
@@ -19,6 +19,7 @@
 
 jobs:
   mirror:
+    if: ${{ github.repository == 'jodogne/mirror-orthanc-tests' }}
     runs-on: ubuntu-slim
     steps:
       - name: Install Mercurial and fast-export