diff --git a/beta/beta-branch.yml b/beta/beta-branch.yml index 50d4e1a0..dadbe3c6 100644 --- a/beta/beta-branch.yml +++ b/beta/beta-branch.yml @@ -20,10 +20,13 @@ jobs: uses: actions/checkout@v3 with: token: ${{ secrets.DISPATCH_REPO }} + fetch-depth: 0 - name: Open PR env: GH_TOKEN: ${{ secrets.DISPATCH_REPO }} run: | - git pull --rebase=false --autostash --no-edit --allow-unrelated-histories origin main + git checkout -b beta-branch + git checkout main + git reset --soft origin/beta-branch gh pr create --title '${GITHUB_REF##*/}' --body 'Beta branch'