Skip to content
This repository has been archived by the owner on Aug 7, 2023. It is now read-only.

Commit

Permalink
fix: replace reviewdog secret with auto-generated github token
Browse files Browse the repository at this point in the history
Github creates a token specific to every workflow run that grants access to the running repo. https://docs.github.com/en/actions/security-guides/automatic-token-authentication

This is a more secure way to access to the repo rather than the current approach of handling the access secret ourselves.
  • Loading branch information
jacoblerner-czi committed Apr 26, 2023
1 parent 9c8ed37 commit 6bef089
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,5 @@ jobs:
run: make setup
- name: make ${{ matrix.target }}
env:
REVIEWDOG_GITHUB_API_TOKEN: ${{ secrets.REVIEWDOG_GITHUB_API_TOKEN }}
REVIEWDOG_GITHUB_API_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: make ${{ matrix.target }}

0 comments on commit 6bef089

Please sign in to comment.