From 4e0b1356360c356158a86278924d43c54a05f198 Mon Sep 17 00:00:00 2001 From: Mark Ridgwell Date: Mon, 8 Apr 2024 10:39:58 +0000 Subject: [PATCH] [Actions] Updated .github/workflows/on-pr-closed.yml --- .github/workflows/on-pr-closed.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/on-pr-closed.yml b/.github/workflows/on-pr-closed.yml index 0f04ff5b..7b5a6e7f 100644 --- a/.github/workflows/on-pr-closed.yml +++ b/.github/workflows/on-pr-closed.yml @@ -10,6 +10,7 @@ jobs: runs-on: [self-hosted, linux] steps: - name: "Initialise Workspace" + if: startsWith(runner.name, 'buildagent-') shell: bash run: sudo chown -R "$USER:$USER" "$GITHUB_WORKSPACE"