diff --git a/.github/workflows/check.yml b/.github/workflows/check.yml index 9e3fccb..ae10309 100644 --- a/.github/workflows/check.yml +++ b/.github/workflows/check.yml @@ -19,8 +19,8 @@ jobs: ./hack/diff.sh - name: Update badge env: - GH_TOKEN: ${{ secrets.GH_TOKEN }} # Generated for update gist - BADGE_PREFIX: "gist://wzshiming/6e1f67a5184f93cefc5b2c670a5813e5" + GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} + BADGE_PREFIX: "git://${{ github.repository }}/gh-pages" QUICKLY: "true" run: | wget https://github.com/wzshiming/putingh/releases/download/v0.6.3/putingh_linux_amd64 -O /usr/local/bin/putingh && chmod +x /usr/local/bin/putingh diff --git a/.github/workflows/deep-check.yml b/.github/workflows/deep-check.yml index fe4ab34..1e59265 100644 --- a/.github/workflows/deep-check.yml +++ b/.github/workflows/deep-check.yml @@ -28,8 +28,8 @@ jobs: ./hack/diff.sh - name: Update badge env: - GH_TOKEN: ${{ secrets.GH_TOKEN }} # Generated for update gist - BADGE_PREFIX: "gist://wzshiming/6e1f67a5184f93cefc5b2c670a5813e5" + GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} + BADGE_PREFIX: "git://${{ github.repository }}/gh-pages" run: | wget https://github.com/wzshiming/putingh/releases/download/v0.6.3/putingh_linux_amd64 -O /usr/local/bin/putingh && chmod +x /usr/local/bin/putingh ./hack/badge.sh