Skip to content

Commit

Permalink
Fetch all branches to avoid detached HEAD state
Browse files Browse the repository at this point in the history
  • Loading branch information
saertna committed Sep 26, 2024
1 parent 44574e5 commit 0e2acf5
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/lernos-produktionskette.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,11 @@ jobs:
convert_via_pandoc:
runs-on: ubuntu-latest
steps:
# Checkout the repository
# Checkout the repository on the 'main' branch
- uses: actions/checkout@v3
with:
ref: main # Ensures the 'main' branch is checked out
fetch-depth: 0 # Fetch all branches to avoid detached HEAD state

# Install yq from binary release
- name: Install yq
Expand Down

0 comments on commit 0e2acf5

Please sign in to comment.