Skip to content

Commit 662662a

Browse files
committed
create experimental branch first
1 parent ff3189f commit 662662a

File tree

1 file changed

+9
-4
lines changed

1 file changed

+9
-4
lines changed

.github/workflows/experimental-pr.yaml

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,14 +13,19 @@ jobs:
1313
pull-requests: write
1414

1515
steps:
16-
- name: Checkout the PR branch
16+
- name: Checkout main branch
1717
uses: actions/checkout@v4
1818
with:
19-
ref: ${{ github.event.pull_request.head.ref }}
19+
ref: main
2020
fetch-depth: 0
2121

22-
- name: Create/Update the experimental branch from main
23-
run: git push -f origin main:refs/heads/experimental
22+
- name: Create the experimental branch
23+
run: git push origin main:refs/heads/experimental
24+
25+
- name: Checkout the PR branch
26+
uses: actions/checkout@v4
27+
with:
28+
fetch-depth: 0
2429

2530
- name: Create PR to experimental
2631
env:

0 commit comments

Comments
 (0)