Skip to content

Commit

Permalink
No token in checkout
Browse files Browse the repository at this point in the history
  • Loading branch information
KH committed Nov 25, 2023
1 parent 3b1bc79 commit 1f9c815
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/coverage_badge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ jobs:
ref: ${{github.event.pull_request.head.ref}}
repository: ${{github.event.pull_request.head.repo.full_name}}
persist-credentials: false
github_token: ${{ secrets.GITHUB_TOKEN }}

- name: Setup go
uses: actions/setup-go@v4
Expand Down Expand Up @@ -48,9 +47,9 @@ jobs:
run: |
git config --local user.email "action@github.com"
git config --local user.name "GitHub Action"
git config --local --unset-all "http.https://github.com/.extraheader"
git add README.md
git commit -m "chore: Updated coverage badge."
# git config --local --unset-all "http.https://github.com/.extraheader"
# git remote set-url origin https://kleineshertz@github.com/kleineshertz/capillaries.git
# git remote set-url origin https://x-access-token:${{secrets.GITHUB_TOKEN}}@github.com/kleineshertz/capillaries

Expand Down

0 comments on commit 1f9c815

Please sign in to comment.