diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index f8e6bd8..75a4280 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -51,12 +51,14 @@ jobs: docs: runs-on: ubuntu-latest + permissions: + contents: write steps: - uses: actions/checkout@v7 with: ref: ${{ github.event.pull_request.head.ref }} repository: ${{ github.event.pull_request.head.repo.full_name }} - token: ${{ secrets.GH_PERSONAL_ACCESS_TOKEN || secrets.GITHUB_TOKEN }} + token: ${{ secrets.GITHUB_TOKEN }} - name: Terraform Docs uses: terraform-docs/gh-actions@v1.4.1