From 60aeb39468e5616b6a2b13fb79138a68e55d312e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pawe=C5=82=20Irzyk?= <108666440+pawelirh@users.noreply.github.com> Date: Fri, 28 Jun 2024 15:30:12 +0200 Subject: [PATCH] Update release-repository.yaml --- .github/workflows/release-repository.yaml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/release-repository.yaml b/.github/workflows/release-repository.yaml index 5675ad7b6..c0132e968 100644 --- a/.github/workflows/release-repository.yaml +++ b/.github/workflows/release-repository.yaml @@ -60,6 +60,11 @@ jobs: gh pr merge ${{ steps.catkin_release.outputs.created_branch }} \ --merge --delete-branch + - name: Grant permissions # Required permission grant after at-wat/catkin-release-action@v1 action + if: ${{ fromJSON(inputs.automatic_mode) == true }} + run: | + sudo chmod -R ugo+rwX . + - name: Checkout to main branch if: ${{ github.event.inputs.release_candidate != env.MAIN_BRANCH && fromJSON(inputs.automatic_mode) == true }} @@ -104,11 +109,6 @@ jobs: --title ${{ github.event.inputs.release_name }} \ --generate-notes - - name: Grant permissions - if: ${{ env.DEVEL_BRANCH != env.MAIN_BRANCH && fromJSON(inputs.automatic_mode) == true }} - run: | - sudo chmod -R ugo+rwX . - - name: Checkout to devel branch if: ${{ env.DEVEL_BRANCH != env.MAIN_BRANCH && fromJSON(inputs.automatic_mode) == true }} uses: actions/checkout@v4