Skip to content

Commit 379e101

Browse files
feat(e2e): also trigger on push to v2 (PR merge or direct push)
Co-authored-by: Cursor <cursoragent@cursor.com>
1 parent cca7aff commit 379e101

1 file changed

Lines changed: 7 additions & 1 deletion

File tree

.github/workflows/e2e-plugin-tests.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,11 @@ on:
6262
# Run automatically when a PR receives the "safe to test" label.
6363
pull_request_target:
6464
types: [labeled]
65+
# Run automatically when code lands on v2 — i.e. a PR is merged into v2 or
66+
# something is pushed to it directly — so the release branch is validated
67+
# post-merge (build + publish + sanity + OIDC against the merged code).
68+
push:
69+
branches: [v2]
6570
# Allow manual triggering from the Actions UI for debugging.
6671
workflow_dispatch:
6772
inputs:
@@ -94,7 +99,8 @@ jobs:
9499
name: '1. Build .vsix'
95100
if: |
96101
contains(github.event.pull_request.labels.*.name, 'safe to test') ||
97-
github.event_name == 'workflow_dispatch'
102+
github.event_name == 'workflow_dispatch' ||
103+
github.event_name == 'push'
98104
runs-on: ubuntu-latest
99105
timeout-minutes: 20
100106

0 commit comments

Comments
 (0)