Skip to content

Commit

Permalink
secrets.GITHUB_TOKEN
Browse files Browse the repository at this point in the history
  • Loading branch information
KH committed Nov 25, 2023
1 parent 90d3514 commit be37461
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 @@ -19,7 +19,6 @@ jobs:
fetch-depth: 0 # otherwise, there would be errors pushing refs to the destination repository.
ref: ${{github.event.pull_request.head.ref}}
repository: ${{github.event.pull_request.head.repo.full_name}}
token: ${{ github.token }}
persist-credentials: false

- name: Setup go
Expand Down Expand Up @@ -55,7 +54,7 @@ jobs:
if: steps.verify-changed-files.outputs.files_changed == 'true'
uses: ad-m/github-push-action@master
with:
github_token: ${{ github.token }}
github_token: ${{ secrets.GITHUB_TOKEN }}
branch: ${{ github.head_ref }}
repository: ${{github.event.pull_request.head.repo.full_name}}
force_with_lease: true
Expand Down

0 comments on commit be37461

Please sign in to comment.