Skip to content

Commit

Permalink
create experimental branch first
Browse files Browse the repository at this point in the history
  • Loading branch information
tatomyr committed Jan 21, 2025
1 parent ff3189f commit 662662a
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions .github/workflows/experimental-pr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,19 @@ jobs:
pull-requests: write

steps:
- name: Checkout the PR branch
- name: Checkout main branch
uses: actions/checkout@v4
with:
ref: ${{ github.event.pull_request.head.ref }}
ref: main
fetch-depth: 0

- name: Create/Update the experimental branch from main
run: git push -f origin main:refs/heads/experimental
- name: Create the experimental branch
run: git push origin main:refs/heads/experimental

- name: Checkout the PR branch
uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Create PR to experimental
env:
Expand Down

0 comments on commit 662662a

Please sign in to comment.