From add4ce8a22ce74fb865b1a93ec08e350731f36c7 Mon Sep 17 00:00:00 2001 From: Mark Ridgwell Date: Mon, 9 Oct 2023 11:14:14 +0000 Subject: [PATCH] [Dependencies] - Update .github/workflows/pr-update.yml to match the template repo --- .github/workflows/pr-update.yml | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/.github/workflows/pr-update.yml b/.github/workflows/pr-update.yml index ad8a563e..6b0603dd 100644 --- a/.github/workflows/pr-update.yml +++ b/.github/workflows/pr-update.yml @@ -20,7 +20,8 @@ jobs: if: ${{endsWith(github.repository , '-template')}} runs-on: ubuntu-latest steps: - - run: sudo chown -R "$USER:$USER" "$GITHUB_WORKSPACE" + - name: "Initialise Workspace" + run: sudo chown -R "$USER:$USER" "$GITHUB_WORKSPACE" - run: | echo "Branch: ${{env.HEAD_REF}}" echo "Base Branch: ${{env.BASE_REF}}" @@ -37,7 +38,8 @@ jobs: if: ${{github.actor != 'dependabot[bot]'}} runs-on: ubuntu-latest steps: - - run: sudo chown -R "$USER:$USER" "$GITHUB_WORKSPACE" + - name: "Initialise Workspace" + run: sudo chown -R "$USER:$USER" "$GITHUB_WORKSPACE" - uses: actions/labeler@v4 with: repo-token: ${{secrets.SOURCE_PUSH_TOKEN}} @@ -52,8 +54,10 @@ jobs: && github.actor != 'dependabot[bot]'}} runs-on: ubuntu-latest steps: - - run: sudo chown -R "$USER:$USER" "$GITHUB_WORKSPACE" - - uses: thomaseizinger/assign-pr-creator-action@v1.0.0 + - name: "Initialise Workspace" + run: sudo chown -R "$USER:$USER" "$GITHUB_WORKSPACE" + - name: "Assign PR to the creator" + uses: thomaseizinger/assign-pr-creator-action@v1.0.0 with: repo-token: ${{secrets.SOURCE_PUSH_TOKEN}}