Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .github/workflows/e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,8 @@ on:
- 'examples/**'
- '.github/workflows/e2e.yml'
workflow_dispatch:
permissions: read-all
permissions:
contents: read
concurrency:
group: e2e-${{ github.ref }}
cancel-in-progress: true
Expand Down
13 changes: 9 additions & 4 deletions .github/workflows/pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,16 @@ on:
push:
branches: [main, master]
workflow_dispatch:
permissions:
contents: read
pages: write
id-token: write
# Permissions are declared per job rather than at workflow level, so the build
# job never holds the pages/id-token write scopes that only the deploy job
# needs.
concurrency:
group: "pages"
cancel-in-progress: false
jobs:
build:
permissions:
contents: read
runs-on: ubuntu-latest
timeout-minutes: 15
container:
Expand Down Expand Up @@ -43,6 +44,10 @@ jobs:
with:
path: '_site'
deploy:
permissions:
contents: read
pages: write
id-token: write
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
Expand Down
Loading