We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 938a7b9 commit 99026b8Copy full SHA for 99026b8
.github/workflows/test-examples.yml
@@ -40,7 +40,15 @@ jobs:
40
if: github.event_name == 'pull_request'
41
run: |
42
git remote update
43
- git checkout ${{ github.head_ref }} || echo "Falling back to main"
+ git checkout ${{ github.head_ref }} || echo "${{github.head_ref}} not found, checking base ${{github.base_ref}}"
44
+
45
+ - name: Check for branch ${{ github.base_ref }}
46
+ working-directory: ${{ env.test_repo_path }}
47
+ if: github.event_name == 'pull_request'
48
+ run: |
49
+ git remote update
50
+ git checkout ${{ github.base_ref }} || echo "${{github.base_ref}} not found Falling back to main"
51
52
53
- name: Set up PDM
54
uses: pdm-project/setup-pdm@v4
0 commit comments