diff --git a/.github/workflows/reformat-sql.yml b/.github/workflows/reformat-sql.yml index 260587b4..018f8c8b 100644 --- a/.github/workflows/reformat-sql.yml +++ b/.github/workflows/reformat-sql.yml @@ -29,6 +29,7 @@ jobs: steps: - name: "Initialise Workspace" + if: startsWith(runner.name, 'buildagent-') shell: bash run: sudo chown -R "$USER:$USER" "$GITHUB_WORKSPACE"