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
1 change: 1 addition & 0 deletions .github/workflows/add-issue-to-triage-board.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ on:
pull_request_target:
types:
- opened
permissions: {}
jobs:
add-to-triage-project-board:
# skip in fork
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/check-dist.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ on:
- 'master'
pull_request:
workflow_dispatch:
permissions:
contents: read

jobs:
check-dist:
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/check-markdown.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ on:
- 'master'
pull_request:
workflow_dispatch:
permissions:
contents: read

jobs:
check-markdown:
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/example-basic-pnpm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ on:
- 'master'
pull_request:
workflow_dispatch:
permissions:
contents: read

jobs:
basic-pnpm:
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/example-basic.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ on:
- 'master'
pull_request:
workflow_dispatch:
permissions:
contents: read

jobs:
basic:
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/example-build-artifacts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ on:
- 'master'
pull_request:
workflow_dispatch:
permissions:
contents: read

jobs:
build:
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/example-chrome-for-testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ on:
- 'master'
pull_request:
workflow_dispatch:
permissions:
contents: read

jobs:
tests:
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/example-chrome.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ on:
- 'master'
pull_request:
workflow_dispatch:
permissions:
contents: read

jobs:
tests:
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/example-component-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ on:
- 'master'
pull_request:
workflow_dispatch:
permissions:
contents: read

jobs:
cypress-run:
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/example-config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ on:
- 'master'
pull_request:
workflow_dispatch:
permissions:
contents: read

jobs:
start:
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/example-cron.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ on:
# runs tests every day at 4am
- cron: '0 4 * * *'
workflow_dispatch:
permissions:
contents: read

jobs:
nightly:
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/example-custom-ci-build-id.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,9 @@ env:
CYPRESS_PROJECT_ID: ${{ secrets.EXAMPLE_PROJECT_ID }}
CYPRESS_RECORD_KEY: ${{ secrets.EXAMPLE_RECORDING_KEY }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
permissions:
contents: read
actions: read

jobs:
check-record-key:
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/example-custom-command.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ on:
- 'master'
pull_request:
workflow_dispatch:
permissions:
contents: read

jobs:
start:
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/example-debug.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ on:
- 'master'
pull_request:
workflow_dispatch:
permissions:
contents: read

jobs:
action-debug:
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/example-docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ on:
- 'master'
pull_request:
workflow_dispatch:
permissions:
contents: read

jobs:
docker-browsers:
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/example-edge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ on:
- 'master'
pull_request:
workflow_dispatch:
permissions:
contents: read

jobs:
tests:
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/example-env.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@ env:
# Cypress.env('environmentName') // 'staging'
# see https://on.cypress.io/env
CYPRESS_environmentName: staging
permissions:
contents: read

jobs:
e2e:
runs-on: ubuntu-24.04
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/example-expose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ on:
- 'master'
pull_request:
workflow_dispatch:
permissions:
contents: read

jobs:
with-expose:
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/example-firefox.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ on:
- 'master'
pull_request:
workflow_dispatch:
permissions:
contents: read

jobs:
firefox:
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/example-install-command.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ on:
- 'master'
pull_request:
workflow_dispatch:
permissions:
contents: read

jobs:
install-command:
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/example-install-only.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ on:
- 'master'
pull_request:
workflow_dispatch:
permissions:
contents: read

jobs:
# do not install every dependency in this example
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/example-node-versions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ on:
- 'master'
pull_request:
workflow_dispatch:
permissions:
contents: read

jobs:
cypress-run:
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/example-quiet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ on:
- 'master'
pull_request:
workflow_dispatch:
permissions:
contents: read

jobs:
cypress-run:
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/example-recording.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@ env:
CYPRESS_PROJECT_ID: ${{ secrets.EXAMPLE_PROJECT_ID }}
CYPRESS_RECORD_KEY: ${{ secrets.EXAMPLE_RECORDING_KEY }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
permissions:
contents: read
Comment thread
cursor[bot] marked this conversation as resolved.
actions: read

jobs:
check-record-key:
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/example-start-and-pnpm-workspaces.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ on:
- 'master'
pull_request:
workflow_dispatch:
permissions:
contents: read

jobs:
# The example has pnpm workspaces in its "root" folder
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/example-start-and-yarn-workspaces.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ on:
- 'master'
pull_request:
workflow_dispatch:
permissions:
contents: read

jobs:
single:
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/example-start.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ env:
# works around issue when more than one instance of serve is started
# See PR https://github.com/vercel/serve/pull/457
NO_UPDATE_CHECK: 1
permissions:
contents: read

jobs:
start:
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/example-wait-on.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ on:
- 'master'
pull_request:
workflow_dispatch:
permissions:
contents: read

jobs:
wait:
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/example-webpack.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ on:
- 'master'
pull_request:
workflow_dispatch:
permissions:
contents: read

jobs:
wait:
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/example-yarn-classic.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ on:
- 'master'
pull_request:
workflow_dispatch:
permissions:
contents: read

jobs:
yarn-classic:
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/example-yarn-modern-pnp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ on:
- 'master'
pull_request:
workflow_dispatch:
permissions:
contents: read

jobs:
yarn-modern-pnp:
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/example-yarn-modern.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ on:
- 'master'
pull_request:
workflow_dispatch:
permissions:
contents: read

jobs:
yarn-modern:
Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ on:
branches:
- 'master'
pull_request:
permissions:
contents: read
jobs:
build-and-test:
runs-on: ubuntu-24.04
Expand All @@ -28,6 +30,10 @@ jobs:
- run: npm run format:all:check # Prettier formatting check

release:
permissions:
contents: write
Comment thread
cursor[bot] marked this conversation as resolved.
issues: write
pull-requests: write
runs-on: ubuntu-24.04
name: release
needs: [build-and-test]
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/triage_closed_issue_comment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ on:
issue_comment:
types:
- created
permissions: {}
jobs:
closed-issue-comment:
# skip in fork
Expand Down
Loading