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
6 changes: 6 additions & 0 deletions .github/workflows/code-qa.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,12 @@ on:
merge_group:
types: [checks_requested]

# Cancel superseded runs when a pull request is updated. Non-PR events keep
# unique groups, so main, merge-queue, and manual runs are never cancelled.
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.run_id }}
cancel-in-progress: ${{ github.event_name == 'pull_request' }}

# Least privilege: every job below escalates only where it needs to.
permissions:
contents: read
Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,12 @@ on:
schedule:
- cron: "24 19 * * 3"

# Cancel superseded runs when a pull request is updated. Non-PR events keep
# unique groups, so main pushes and scheduled scans are never cancelled.
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.run_id }}
cancel-in-progress: ${{ github.event_name == 'pull_request' }}

# Least privilege: the analyze job escalates to security-events: write via its
# own job-level permissions block.
permissions:
Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,12 @@ on:
merge_group:
types: [checks_requested]

# Cancel superseded runs when a pull request is updated. Non-PR events keep
# unique groups, so merge-queue and manual runs are never cancelled.
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.run_id }}
cancel-in-progress: ${{ github.event_name == 'pull_request' }}

permissions:
contents: read

Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/release-validation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,12 @@ on:
- "releases/**"
- ".github/workflows/release-validation.yml"

# Cancel superseded runs when a pull request is updated. Non-PR events keep
# unique groups, so manual runs are never cancelled.
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.run_id }}
cancel-in-progress: ${{ github.event_name == 'pull_request' }}

permissions:
contents: read

Expand Down
6 changes: 3 additions & 3 deletions apps/vscode-e2e/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@
"lint": "eslint src --ext=ts --max-warnings=0",
"check-types": "tsc -p tsconfig.esm.json --noEmit",
"format": "prettier --write src",
"test:ci": "pnpm -w bundle && pnpm --filter @roo-code/vscode-webview build && pnpm test:run",
"test:ci:mock": "pnpm -w bundle && pnpm --filter @roo-code/vscode-webview build && USE_MOCK=true pnpm test:run",
"test:ci": "pnpm -w bundle && pnpm test:run",
"test:ci:mock": "pnpm -w bundle && USE_MOCK=true pnpm test:run",
"test:record": "AIMOCK_RECORD=true pnpm test:ci",
"test:run": "rimraf out && tsc -p tsconfig.json && dotenv -e .env.local -- node ./out/runTest.js",
"themes:build": "pnpm -w bundle && pnpm --filter @roo-code/vscode-webview build && rimraf out && tsc -p tsconfig.json",
"themes:build": "pnpm -w bundle && rimraf out && tsc -p tsconfig.json",
"themes:update": "pnpm themes:build && node ./out/theme-fixtures/generate.js update",
"themes:check": "pnpm themes:build && node ./out/theme-fixtures/generate.js check",
"themes:test": "pnpm --filter @roo-code/types build && rimraf out && tsc -p tsconfig.json && node --test ./out/theme-fixtures/fixtures.test.js",
Expand Down
Loading