Skip to content

Commit

Permalink
check out repo before getting PR label (#493)
Browse files Browse the repository at this point in the history
Co-authored-by: Katherine Fairchild <[email protected]>
  • Loading branch information
kvfairchild and Katherine Fairchild authored Jan 10, 2024
1 parent 4ae469c commit 3f92536
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/check_if_pr_is_automergeable.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,10 @@ jobs:
needs: check_test_results
if: needs.check_test_results.outputs.ALL_TESTS_PASS == 'True'
steps:
- name: Check out repository code
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Get PR number from workflow context
run: |
echo "PR_NUMBER=$( python brainscore_vision/submission/actions_helpers.py get_pr_num )" >> $GITHUB_ENV
Expand Down

0 comments on commit 3f92536

Please sign in to comment.