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