Skip to content

Commit

Permalink
[CI] Update checkout to avoid permission error
Browse files Browse the repository at this point in the history
  • Loading branch information
pazeshun committed May 30, 2023
1 parent e9ede69 commit 6520947
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 3 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/indigo.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,9 @@ jobs:
sudo chown -R $USER $HOME
git config --global --add safe.directory $GITHUB_WORKSPACE || echo "OK" # Show 'could not lock config file /github/home/.gitconfig: Permission denied', but it is ok
- name: Checkout
uses: actions/checkout@v2
uses: actions/[email protected]
with:
submodules: true
# github actions cache does not work because of permission denied.
# see: https://github.com/actions/cache/issues/404
# - name: Cache several data
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/kinetic.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,9 @@ jobs:
sudo chown -R $USER $HOME
git config --global --add safe.directory $GITHUB_WORKSPACE || echo "OK" # Show 'could not lock config file /github/home/.gitconfig: Permission denied', but it is ok
- name: Checkout
uses: actions/checkout@v2
uses: actions/[email protected]
with:
submodules: true
# github actions cache does not work because of permission denied.
# see: https://github.com/actions/cache/issues/404
# - name: Cache several data
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/melodic.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,9 @@ jobs:
sudo chown -R $USER $HOME
git config --global --add safe.directory $GITHUB_WORKSPACE || echo "OK" # Show 'could not lock config file /github/home/.gitconfig: Permission denied', but it is ok
- name: Checkout
uses: actions/checkout@v2
uses: actions/[email protected]
with:
submodules: true
# github actions cache does not work because of permission denied.
# see: https://github.com/actions/cache/issues/404
# - name: Cache several data
Expand Down

0 comments on commit 6520947

Please sign in to comment.