From 38b2f9a2494fda690aa5b4bd1381c4fc4fd6d753 Mon Sep 17 00:00:00 2001 From: Mark Ridgwell Date: Sun, 7 Apr 2024 17:48:31 +0000 Subject: [PATCH] [Actions] Updated .github/workflows/on-pr-closed.yml --- .github/workflows/on-pr-closed.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/on-pr-closed.yml b/.github/workflows/on-pr-closed.yml index 0beddbb5..0f04ff5b 100644 --- a/.github/workflows/on-pr-closed.yml +++ b/.github/workflows/on-pr-closed.yml @@ -9,6 +9,10 @@ jobs: cleanup-cache: runs-on: [self-hosted, linux] steps: + - name: "Initialise Workspace" + shell: bash + run: sudo chown -R "$USER:$USER" "$GITHUB_WORKSPACE" + - name: "Harden Security" uses: step-security/harden-runner@v2.7.0 with: