Skip to content

Commit

Permalink
WIP: testing new publish ci x6
Browse files Browse the repository at this point in the history
  • Loading branch information
9and3 committed Aug 23, 2024
1 parent c0b863a commit 0ca89d0
Showing 1 changed file with 15 additions and 9 deletions.
24 changes: 15 additions & 9 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,15 +43,21 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Merge changes to main
run: |
git checkout main
git pull
git merge version-sync-branch
git push
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Create pull request
uses: peter-evans/create-pull-request@v3
with:
token: ${{ secrets.GITHUB_TOKEN }}
branch: version-sync-branch
title: "Sync version for release"
body: "This pull request was created automatically by GitHub Actions."
base: main

- name: Merge pull request
uses: peter-evans/merge-pull-request@v3
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
pull-request-number: ${{ steps.create_pull_request.outputs.pull-request-number }}
merge-method: squash

######################## build/publish yak ##########################
build_yak:
Expand Down

0 comments on commit 0ca89d0

Please sign in to comment.