Skip to content

Commit

Permalink
Fix shell script logic
Browse files Browse the repository at this point in the history
  • Loading branch information
puddly committed May 2, 2024
1 parent c87815f commit 13d64a4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
- name: Read repository information
id: read-repo-info
run: |
if $GITHUB_EVENT_NAME == 'pull_request'; then
if [[ $GITHUB_EVENT_NAME == "pull_request" ]]; then
base_image=$(echo ${{ github.event.pull_request.base.repo.full_name }} | awk '{print tolower($0)}')
head_image=$(echo ${{ github.event.pull_request.head.repo.full_name }} | awk '{print tolower($0)}')
else
Expand Down

0 comments on commit 13d64a4

Please sign in to comment.