Skip to content

Commit

Permalink
fix: run get-ref in root if commit is specified (#344)
Browse files Browse the repository at this point in the history
  • Loading branch information
sapphi-red authored Dec 13, 2024
1 parent f77ec64 commit 4437e6a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ecosystem-ci-from-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ jobs:
run: |
ref=${{ inputs.commit || '$(git log -1 --pretty=format:%H)' }}
echo "ref=$ref" >> $GITHUB_OUTPUT
working-directory: workspace/vite
working-directory: ${{ inputs.commit && '.' || 'workspace/vite' }}

execute-all:
timeout-minutes: 30
Expand Down Expand Up @@ -194,7 +194,7 @@ jobs:
run: |
ref=${{ inputs.commit || '$(git log -1 --pretty=format:%H)' }}
echo "ref=$ref" >> $GITHUB_OUTPUT
working-directory: workspace/vite
working-directory: ${{ inputs.commit && '.' || 'workspace/vite' }}

update-comment:
runs-on: ubuntu-latest
Expand Down

0 comments on commit 4437e6a

Please sign in to comment.