Skip to content

Commit 8e4f93b

Browse files
committed
Fix pr_to_official condition
1 parent 1b3b988 commit 8e4f93b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/release_publish.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ jobs:
7878
uses: actions/checkout@v4
7979
with:
8080
path: official-images
81-
repository: ${{ github.event.inputs.pr_to_official_library && env.TARGET_OFFICIAL_IMAGES_REPO || env.FORKED_OFFICIAL_IMAGES_REPO }}
81+
repository: ${{ github.event.inputs.pr_to_official_library == 'true' && env.TARGET_OFFICIAL_IMAGES_REPO || env.FORKED_OFFICIAL_IMAGES_REPO }}
8282

8383
- name: Generate stackbrew library content
8484
env:
@@ -104,7 +104,7 @@ jobs:
104104
with:
105105
token: ${{ secrets.GH_TOKEN_FOR_PR }}
106106
draft: true
107-
push-to-fork: ${{ github.event.inputs.pr_to_official_library && env.FORKED_OFFICIAL_IMAGES_REPO || '' }}
107+
push-to-fork: ${{ github.event.inputs.pr_to_official_library == 'true' && env.FORKED_OFFICIAL_IMAGES_REPO || '' }}
108108
path: official-images
109109
branch: redis-${{ steps.parse-release.outputs.release_version }}
110110
commit-message: "Redis: Update to ${{ steps.parse-release.outputs.release_version }}"

0 commit comments

Comments
 (0)