CI: strip extra headers when pushing to subrepos (prevents auth)
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
parent
bd220b275c
commit
1ef3add01d
1 changed files with 2 additions and 0 deletions
2
.github/workflows/push_subrepos.yml
vendored
2
.github/workflows/push_subrepos.yml
vendored
|
|
@ -15,4 +15,6 @@ jobs:
|
|||
run: |
|
||||
git config user.name 'Repository synchronization automation'
|
||||
git config user.email 'stephen@hexops.com'
|
||||
# See https://github.community/t/automating-push-to-public-repo/17742/12
|
||||
git config -l | grep 'http\..*\.extraheader' | cut -d= -f1 | xargs -L1 git config --unset-all
|
||||
./dev/push-subrepos.sh
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue