ci: use GITHUB_TOKEN to authenticate GitHub CLI
@@ -11,6 +11,8 @@ jobs:
- uses: actions/checkout@v2
- name: Install linkcheck
+ env:
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
mkdir $GITHUB_WORKSPACE/mdbook-linkcheck
cd $GITHUB_WORKSPACE/mdbook-linkcheck
