diff --git a/.github/workflows/goreadme.yml b/.github/workflows/goreadme.yml index 0c4c56e..378ff9c 100644 --- a/.github/workflows/goreadme.yml +++ b/.github/workflows/goreadme.yml @@ -12,7 +12,7 @@ jobs: - name: Check out repository uses: actions/checkout@v4 with: - set-safe-directory: /github/workspace + set-safe-directory: "*" - name: Update readme according to Go doc uses: posener/goreadme@v1 with: @@ -22,4 +22,4 @@ jobs: badge-goreportcard: "true" # Optional: Token allows goreadme to comment the PR with diff preview. - github-token: "${{ secrets.PAT }}" + github-token: "${{ secrets.GITHUB_TOKEN }}"