Skip to content

Commit

Permalink
Fix fallback
Browse files Browse the repository at this point in the history
  • Loading branch information
joeyparrish committed Jun 13, 2024
1 parent 46f2328 commit 0893818
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/selenium-lab-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -72,8 +72,8 @@ jobs:
with:
# If "sha" is given, it overrides PR. If neither is given, we fall
# back to testing "main".
ref: ${{ inputs.pr == '' ? 'refs/heads/main' : 'refs/pull/${{ inputs.pr }}/head' }}
sha: ${{ inputs.sha }}
ref: ${{ inputs.pr ? ('refs/pull/' + inputs.pr + '/head') : 'refs/heads/main' }}

# Configure the build matrix based on our grid's YAML config.
# The matrix contents will be computed by this first job and deserialized
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/update-screenshots.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ jobs:
uses: joeyparrish/shaka-github-tools/compute-sha@compute-sha # FIXME
with:
# If sha is given, it overrides PR. If neither is given, we fail.
ref: refs/pull/${{ inputs.pr }}/head
sha: ${{ inputs.sha }}
ref: ${{ inputs.pr ? ('refs/pull/' + inputs.pr + '/head') : '' }}

set-pending-status:
name: Set Pending Status
Expand Down

0 comments on commit 0893818

Please sign in to comment.