From be94e4f57017cf8c2c1aff8320ea9c2d65a2d096 Mon Sep 17 00:00:00 2001 From: Andrea Settimi Date: Fri, 23 Aug 2024 12:44:52 +0200 Subject: [PATCH] WIP: testing new publish ci x11 --- .github/workflows/publish.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 5ee1241..57cec67 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -55,6 +55,13 @@ jobs: env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + - 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 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + - name: Merge pull request run: | gh pr merge --squash --delete-branch --admin