changeset 49:c1706cfbd49c default tip

only execute github action from the expected mirror repo
author Sebastien Jodogne <s.jodogne@gmail.com>
date Mon, 10 Aug 2026 10:29:10 +0200
parents bc18221b610a
children
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:11:42 2026 +0200
+++ b/.github/workflows/mirror.yml	Mon Aug 10 10:29:10 2026 +0200
@@ -2,7 +2,7 @@
 
 env:
   HG_SOURCE_URL: https://orthanc.uclouvain.be/hg/orthanc-tcia/
-  GITHUB_TARGET: jodogne/mirror-orthanc-tcia.git
+  GITHUB_TARGET: jodogne/mirror-orthanc-tcia
   FAST_EXPORT_VERSION: fast-export-260405
 
 on:
@@ -19,6 +19,7 @@
 
 jobs:
   mirror:
+    if: ${{ github.repository == 'jodogne/mirror-orthanc-tcia' }}
     runs-on: ubuntu-slim
     steps:
       - name: Install Mercurial and fast-export