From aa2b12793bfdc785085235a5f8392920bd5f480b Mon Sep 17 00:00:00 2001 From: Mark Ridgwell Date: Mon, 8 Apr 2024 10:48:17 +0000 Subject: [PATCH] [Actions] Updated .github/workflows/create-prs-for-stale-branches.yml --- .github/workflows/create-prs-for-stale-branches.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/create-prs-for-stale-branches.yml b/.github/workflows/create-prs-for-stale-branches.yml index 940caafd..f3c728e8 100644 --- a/.github/workflows/create-prs-for-stale-branches.yml +++ b/.github/workflows/create-prs-for-stale-branches.yml @@ -22,8 +22,10 @@ jobs: steps: - name: "Initialise Workspace" + if: startsWith(runner.name, 'buildagent-') shell: bash run: sudo chown -R "$USER:$USER" "$GITHUB_WORKSPACE" + - name: "Info" shell: bash run: | @@ -67,6 +69,7 @@ jobs: REPO_STATUS: private steps: - name: "Initialise Workspace" + if: startsWith(runner.name, 'buildagent-') shell: bash run: sudo chown -R "$USER:$USER" "$GITHUB_WORKSPACE"