diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index c3a7bd6..411c207 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -23,7 +23,6 @@ on: permissions: contents: read - pull-requests: read jobs: build: diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index 2adacc7..c392cd6 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -10,8 +10,6 @@ on: permissions: contents: read - pages: write - id-token: write # Allow only one concurrent deployment concurrency: @@ -22,7 +20,8 @@ jobs: build: runs-on: ubuntu-latest steps: - - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 + - name: Checkout + uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 - name: Install, build, and upload your site uses: withastro/action@e84f40bd8d2caa9e768ec82ad30dd81f0b280853 # v6.1.2 @@ -38,6 +37,9 @@ jobs: url: ${{ steps.deployment.outputs.page_url }} runs-on: ubuntu-latest needs: build + permissions: + pages: write + id-token: write steps: - name: Deploy to GitHub Pages id: deployment diff --git a/.github/workflows/release-please.yml b/.github/workflows/release-please.yml index 03a86ff..3a7d596 100644 --- a/.github/workflows/release-please.yml +++ b/.github/workflows/release-please.yml @@ -6,7 +6,6 @@ on: permissions: contents: write - issues: write pull-requests: write jobs: