Skip to content

Commit

Permalink
WIP: testing new publish ci x13
Browse files Browse the repository at this point in the history
  • Loading branch information
9and3 committed Aug 23, 2024
1 parent d07282a commit 48dfd75
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,19 +55,18 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Approve pull request
- name: Create pull request
run: |
$pr = gh pr list --head version-sync-branch --json number --jq '.[0].number'
gh pr review $pr --approve
gh pr create --title "ACTION_BOT: Sync version for release" --body "Sync version for release" --base main --head version-sync-branch --label ACTION_BOT
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
shell: pwsh

- name: Merge pull request
run: |
gh pr merge --squash --delete-branch --admin
$pr = gh pr list --head version-sync-branch --json number --jq '.[0].number'
gh pr merge $pr --squash --delete-branch --admin
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_TOKEN: ${{ secrets.PERSONAL_ACCESS_TOKEN }}
shell: pwsh

######################## build/publish yak ##########################
Expand Down

0 comments on commit 48dfd75

Please sign in to comment.