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: 3 additions & 3 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@ permissions:
contents: read

env:
VT_ENV: staging
VT_ENV: preview
VT_ACCOUNT: 652d77895674c387e105948c # Dengen Labs
VT_PROJECT: 654df9de09676ad3b8631dc3 # Experiments
VT_PROFILE: staging-experiments # note: this should match the field ".vertesia.profile" in the agent's "package.json" file.
VT_CLI_VERSION: 0.50.1
VT_PROFILE: preview-experiments # note: this should match the field ".vertesia.profile" in the agent's "package.json" file.
VT_CLI_VERSION: 0.79.3

jobs:
test:
Expand Down
4 changes: 2 additions & 2 deletions apps/github-agent/src/workflows/review-pull-request.ts
Original file line number Diff line number Diff line change
Expand Up @@ -145,13 +145,13 @@ function shouldSkipAssistance({ userLogin, org, repo, baseRef, headRef }:
reason: 'Assistance is disabled for this user.',
};
}
if (baseRef === 'preview') {
if (baseRef === 'preview' && headRef === 'main') {
// We don't support code review for the preview branch because it has too many changes.
// Also, the commits have been reviewed.
log.info(`Skip the pull request for branch: ${baseRef}`);
return {
status: 'skipped',
reason: 'Assistance is disabled for the preview branch.',
reason: 'Assistance is disabled for sync PR from main to preview branch.',
};
}
if (headRef.startsWith('renovate/')) {
Expand Down
Loading