From a88ace988aa925e180762acb2b8a67096754f0c4 Mon Sep 17 00:00:00 2001 From: Anders Kaseorg Date: Thu, 14 Oct 2021 13:24:30 -0700 Subject: [PATCH] ci: Remove /__w permission twiddling. Commit 9f2ac49fb316e46b0740569ddac402e0a570d2bf (#19963) should make this unnecessary. Signed-off-by: Anders Kaseorg --- .github/workflows/zulip-ci.yml | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/.github/workflows/zulip-ci.yml b/.github/workflows/zulip-ci.yml index b8045b7e77..0e4dfdbfa6 100644 --- a/.github/workflows/zulip-ci.yml +++ b/.github/workflows/zulip-ci.yml @@ -50,22 +50,6 @@ jobs: HOME: /home/github/ steps: - - name: Add required permissions - run: | - # The checkout actions doesn't clone to ~/zulip or allow - # us to use the path option to clone outside the current - # /__w/zulip/zulip directory. Since this directory is owned - # by root we need to change it's ownership to allow the - # github user to clone the code here. - # Note: /__w/ is a docker volume mounted to $GITHUB_WORKSPACE - # which is /home/runner/work/. - sudo chown -R github . - - # This is the GitHub Actions specific cache directory the - # the current github user must be able to access for the - # cache action to work. It is owned by root currently. - sudo chmod -R 0777 /__w/_temp/ - - uses: actions/checkout@v2 - name: Create cache directories