diff --git a/.github/workflows/api-fix-docs-artefacts.yml b/.github/workflows/api-fix-docs-artefacts.yml index e80fcd6bd893..e0a8af403973 100644 --- a/.github/workflows/api-fix-docs-artefacts.yml +++ b/.github/workflows/api-fix-docs-artefacts.yml @@ -28,10 +28,11 @@ jobs: steps: - name: Generate GitHub App token with push access id: app-token - uses: actions/create-github-app-token@v1 + uses: actions/create-github-app-token@bcd2ba49218906704ab6c1aa796996da409d3eb1 with: - app-id: ${{ vars.FLAGSMITH_ENGINEERING_GH_APP_ID }} + client-id: ${{ vars.FLAGSMITH_ENGINEERING_GH_APP_ID }} private-key: ${{ secrets.FLAGSMITH_ENGINEERING_GH_APP_PRIVATE_KEY }} + permission-contents: write - name: Cloning repo uses: actions/checkout@v7