Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
Signed-off-by: Bruno Oliveira da Silva <[email protected]>
  • Loading branch information
abstractj committed Oct 17, 2024
1 parent 4dc6090 commit 2e2f419
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/snyk-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,14 @@ jobs:
outputs:
recent_branch: ${{ steps.get_recent_branch.outputs.recent_branch }}
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
fetch-depth: 0 # Fetch all history so we can access all branches

- name: Fetch all branches
run: git fetch --all

- name: Get Most Recent Branch
id: get_recent_branch
run: |
Expand Down Expand Up @@ -65,6 +71,7 @@ jobs:
- uses: actions/checkout@v4
with:
ref: ${{ needs.get-most-recent-branch.outputs.recent_branch }}
fetch-depth: 0 # Make sure to fetch the entire branch

- name: Build Keycloak
uses: ./.github/actions/build-keycloak
Expand Down

0 comments on commit 2e2f419

Please sign in to comment.