changeset 96:2569febd27a7 default tip

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