From 05a85ba3f0cb596663833e9dc475533a89fa828e Mon Sep 17 00:00:00 2001 From: Andrea Settimi Date: Fri, 23 Aug 2024 13:04:52 +0200 Subject: [PATCH] WIP: testing new publish ci x14 --- .github/workflows/publish.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index cb4839a..d573d22 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -49,11 +49,12 @@ jobs: env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - - name: Create pull request + - name: Close existing pull requests for version-sync-branch run: | - gh pr create --title "ACTION_BOT: Sync version for release" --body "Sync version for release" --base main --head version-sync-branch --label ACTION_BOT + gh pr list --state open --head version-sync-branch --json number --jq '.[].number' | ForEach-Object { gh pr close $_ } env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + shell: pwsh - name: Create pull request run: |