Skip to content

Commit

Permalink
zulip-ci: Remove /__w permission twiddling.
Browse files Browse the repository at this point in the history
See zulip/zulip#19968.

Signed-off-by: Anders Kaseorg <anders@zulip.com>
  • Loading branch information
andersk committed Oct 14, 2021
1 parent 4787834 commit c6b6a82
Showing 1 changed file with 0 additions and 16 deletions.
16 changes: 0 additions & 16 deletions .github/workflows/zulip-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,22 +58,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/
- name: 'Checkout python-zulip-api'
uses: actions/checkout@v2
with:
Expand Down

0 comments on commit c6b6a82

Please sign in to comment.