From 6d579b9287c7260774f09d41910f3118ffaf9b08 Mon Sep 17 00:00:00 2001 From: Mark Ridgwell Date: Mon, 9 Oct 2023 10:39:33 +0000 Subject: [PATCH] [Dependencies] - Update .github/workflows/update-labels.yml to match the template repo --- .github/workflows/update-labels.yml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/.github/workflows/update-labels.yml b/.github/workflows/update-labels.yml index 9d0980df..aad1f01c 100644 --- a/.github/workflows/update-labels.yml +++ b/.github/workflows/update-labels.yml @@ -18,12 +18,15 @@ jobs: runs-on: [self-hosted, linux] steps: - - run: sudo chown -R "$USER:$USER" "$GITHUB_WORKSPACE" - - uses: actions/checkout@v4 + - name: "Initialise Workspace" + run: sudo chown -R "$USER:$USER" "$GITHUB_WORKSPACE" + - name: 'Checkout Repository' + uses: actions/checkout@v4 with: fetch-depth: 0 token: ${{secrets.SOURCE_PUSH_TOKEN}} - - if: success() + - name: "Update Github label config" + if: success() uses: crazy-max/ghaction-github-labeler@v5.0.0 with: github-token: ${{secrets.SOURCE_PUSH_TOKEN}}