Skip to content

Commit

Permalink
checkout before checking if branch exists
Browse files Browse the repository at this point in the history
  • Loading branch information
chrispyles committed Sep 1, 2024
1 parent 935ff27 commit 627c4f9
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/run-docker-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,9 @@ jobs:
shell: bash -l {0}

steps:
- name: Check that branch exists
- uses: actions/checkout@v4

- name: Check that branch exists
id: check-branch
run: |
if git show-ref --quiet refs/heads/${{ matrix.branch }}; then
Expand Down

0 comments on commit 627c4f9

Please sign in to comment.