Skip to content

Commit

Permalink
WIP: testing new publish ci x12
Browse files Browse the repository at this point in the history
  • Loading branch information
9and3 committed Aug 23, 2024
1 parent be94e4f commit d07282a
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,16 +57,18 @@ jobs:

- name: Approve pull request
run: |
PR_NUMBER=$(gh pr list --head version-sync-branch --json number --jq '.[0].number')
gh pr review $PR_NUMBER --approve
$pr = gh pr list --head version-sync-branch --json number --jq '.[0].number'
gh pr review $pr --approve
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
shell: pwsh

- name: Merge pull request
run: |
gh pr merge --squash --delete-branch --admin
gh pr merge --squash --delete-branch --admin
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
shell: pwsh

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

0 comments on commit d07282a

Please sign in to comment.