Skip to content

Commit

Permalink
WIP: testing new publish ci x8
Browse files Browse the repository at this point in the history
  • Loading branch information
9and3 committed Aug 23, 2024
1 parent f1e6d9f commit bdd46e2
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
- name: Sync version
run: invoke syncv

- name: If exists the branch remotely version-sync-branch, delete it
- name: Delete branch remotely version-sync-branch (if exists)
run: |
git fetch --prune
git branch -r | grep version-sync-branch && git push origin --delete version-sync-branch
Expand All @@ -49,15 +49,15 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Create pull request without custom actions
- name: Create pull request
run: |
gh pr create --title "ACTION_BOT: Sync version for release" --body "Sync version for release" --base main --head version-sync-branch
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 }}

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

Expand Down

0 comments on commit bdd46e2

Please sign in to comment.