From bdd46e2f7a2f1570866af8a8f3ee7636f4c44fe7 Mon Sep 17 00:00:00 2001 From: Andrea Settimi Date: Fri, 23 Aug 2024 11:55:54 +0200 Subject: [PATCH] WIP: testing new publish ci x8 --- .github/workflows/publish.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 0d44e2b..1de1303 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -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 @@ -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 }}