diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 250c1d880..446bec563 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -9,6 +9,9 @@ on: pull_request: branches: [main] +permissions: + contents: write + jobs: build: runs-on: ubuntu-latest diff --git a/packages/documentation/package.json b/packages/documentation/package.json index ff632af44..7ebac1de6 100644 --- a/packages/documentation/package.json +++ b/packages/documentation/package.json @@ -20,7 +20,7 @@ "dev": "next dev", "build": "next build", "lint": "next lint", - "publish:gh-pages": "yarn gh-pages -d ./dist -b gh-pages --cname openapi-code-generator.nahkies.co.nz --nojekyll" + "publish:gh-pages": "yarn gh-pages -d ./dist -b gh-pages --cname openapi-code-generator.nahkies.co.nz --nojekyll -u 'github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>'" }, "dependencies": { "next": "14.2.3",