We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ff7bbee commit aab16ceCopy full SHA for aab16ce
.github/workflows/release.yml
@@ -24,7 +24,10 @@ jobs:
24
- name: Unset header
25
# checkout@v2 adds a header that makes branch protection report errors
26
# because the Github action bot is not a collaborator on the repo
27
- run: git config --local --unset http.https://github.com/.extraheader
+ run: |
28
+ if git config --local --get-all http.https://github.com/.extraheader > /dev/null; then
29
+ git config --local --unset-all http.https://github.com/.extraheader
30
+ fi
31
32
- name: Set up Python
33
uses: actions/setup-python@v6
0 commit comments