From 1428e868f39578de7fede8350cbdee1ab4bd965d Mon Sep 17 00:00:00 2001 From: David Baker Date: Mon, 23 Feb 2026 12:29:11 +0100 Subject: [PATCH] Check out caller repo after meta repo As per comment --- .github/workflows/sync-labels.yml | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/.github/workflows/sync-labels.yml b/.github/workflows/sync-labels.yml index 8d5f737..a2867a1 100644 --- a/.github/workflows/sync-labels.yml +++ b/.github/workflows/sync-labels.yml @@ -37,16 +37,18 @@ jobs: sync: runs-on: ubuntu-latest steps: - - name: Check out calling repository + - name: Check out element-hq/element-meta uses: actions/checkout@v4 - if: github.repository != 'element-hq/element-meta' with: - path: caller-repository + repository: element-hq/element-meta - - name: Check out element-hq/element-meta + # nb. this put the caller repo within the element-meta checkout so it must + # be done afterwards as actions/checkout erases the directory + - name: Check out calling repository uses: actions/checkout@v4 + if: github.repository != 'element-hq/element-meta' with: - repository: element-hq/element-meta + path: caller-repository - name: "Set up Node.js" uses: actions/setup-node@v4