Skip to content
This repository was archived by the owner on May 12, 2025. It is now read-only.

Commit fd0e643

Browse files
committed
👷 Fix dependabot workflow
1 parent f4972a5 commit fd0e643

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

‎.github/workflows/build-dependabot.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,3 +10,4 @@ jobs:
1010
uses: fonimus/ssh-shell-spring-boot/.github/workflows/reusable-build.yml@main
1111
with:
1212
sonar_analysis: false
13+
ref: ${{ github.event.pull_request.head.sha }}

‎.github/workflows/reusable-build.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,11 @@ name: Reusable Build
33
on:
44
workflow_call:
55
inputs:
6+
ref:
7+
required: false
8+
type: string
9+
default: ''
10+
description: Ref to checkout
611
sonar_analysis:
712
required: false
813
type: boolean
@@ -20,6 +25,8 @@ jobs:
2025
runs-on: ubuntu-latest
2126
steps:
2227
- uses: actions/checkout@v2
28+
with:
29+
ref: ${{ inputs.ref }}
2330
- name: Set up JDK 11
2431
uses: actions/[email protected]
2532
with:

0 commit comments

Comments
 (0)