Skip to content

Commit 30b6ce1

Browse files
authored
Update git config command in check-standard.yaml
Refactor git config command to remove commented lines.
1 parent 4ace6c4 commit 30b6ce1

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎.github/workflows/check-standard.yaml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,8 @@ jobs:
3535
# git config hack required, see https://stackoverflow.com/q/64270867/474349
3636
run: |
3737
export CLOUDYR_REPO=$(echo $GITHUB_REPOSITORY | sed "s/Azure/cloudyr/")
38-
# git config -l | grep 'http\..*\.extraheader' | cut -d= -f1 | \
39-
# xargs -L1 git config --unset-all
38+
git config -l | grep 'http\..*\.extraheader' | cut -d= -f1 | \
39+
xargs -L1 git config --unset-all
4040
git push --prune https://token:$token@github.com/${CLOUDYR_REPO}.git +refs/remotes/origin/*:refs/heads/* +refs/tags/*:refs/tags/*
4141
4242
- uses: r-lib/actions/setup-r@465b7d8e732ca3921382b1674c59bada9cbf3399 # v2.13.0

0 commit comments

Comments
 (0)