Skip to content

Commit

Permalink
Add missing working-directory in scheduled.yml (facebookincubator#9454
Browse files Browse the repository at this point in the history
)

Summary:
A follow up to facebookincubator#9451

Pull Request resolved: facebookincubator#9454

Reviewed By: bikramSingh91

Differential Revision: D56028187

Pulled By: kgpai

fbshipit-source-id: d3b4de36b554b28cf5a42f41f854d05dd7c5f595
  • Loading branch information
assignUser authored and Joe-Abraham committed Jun 7, 2024
1 parent fad05df commit e177877
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/scheduled.yml
Original file line number Diff line number Diff line change
Expand Up @@ -107,11 +107,12 @@ jobs:

- name: Get latest commit from main
if: ${{ github.event_name != 'schedule' }}
working-directory: ${{ github.workspace }}
env:
GH_TOKEN: ${{ github.token }}
id: get-head
run: |
if [ '${{ github.event_name = 'push' }}' == "true" ]; then
if [ '${{ github.event_name == 'push' }}' == "true" ]; then
# get the parent commit of the current one to get the relevant function signatures
head_main=$(gh api -q '.parents.[0].sha' '/repos/facebookincubator/velox/commits/${{ github.sha }}')
else
Expand Down

0 comments on commit e177877

Please sign in to comment.