Skip to content

Commit 19f43db

Browse files
authored
Fix generate-docker-image-tags API calls (#59)
Only `get-pr-number` if a shortcut token exists
1 parent 83d83d1 commit 19f43db

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

generate-docker-image-tags/action.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,7 @@ runs:
6363
- name: Get PR Number
6464
id: get-pr-number
6565
shell: bash
66+
if: ${{ inputs.shortcut-api-token }}
6667
env:
6768
GITHUB_TOKEN: ${{ github.token }}
6869
run: |

0 commit comments

Comments
 (0)