Skip to content

Commit

Permalink
WIP: testing new publish ci x19
Browse files Browse the repository at this point in the history
  • Loading branch information
9and3 committed Aug 23, 2024
1 parent f32fb35 commit 69b0c07
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,25 +64,25 @@ jobs:

- name: Approve pull request
run: |
$prId = gh pr list --head version-sync-branch --json id --jq '.[0].id'
$pr = gh pr list --head version-sync-branch --json number --jq '.[0].number'
gh api graphql -f query='
mutation($prId: ID!) {
addPullRequestReview(input: {pullRequestId: $prId, event: APPROVE}) {
pullRequestReview {
id
}
}
}' -f prId=$prId
}' -f prId="MDExOlB1bGxSZXF1ZXN0" + $pr
env:
GITHUB_TOKEN: ${{ secrets.ADMIN_PAT_TOKEN }}
shell: pwsh

- name: Merge pull request
run: |
$prId = gh pr list --head version-sync-branch --json id --jq '.[0].id'
gh pr merge $prId --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 69b0c07

Please sign in to comment.