Skip to content

Commit d38f291

Browse files
authored
Merge pull request #40 from marko-bekhta/gh-hash
Enable GitHub actions dependency updates / Use SHA instead of versions in GH actions
2 parents eb06f2e + 9d000e1 commit d38f291

File tree

2 files changed

+13
-2
lines changed

2 files changed

+13
-2
lines changed

.github/dependabot.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,3 +10,14 @@ updates:
1010
- "*maven*plugin*"
1111
- "*plexus*"
1212
- "org.apache.maven*:*"
13+
- package-ecosystem: "github-actions"
14+
directory: "/"
15+
schedule:
16+
interval: monthly
17+
groups:
18+
workflow-actions:
19+
patterns:
20+
- "*"
21+
allow:
22+
- dependency-name: "actions/*"
23+
- dependency-name: "redhat-actions/*"

.github/workflows/build.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,10 @@ jobs:
2222
runs-on: ubuntu-latest
2323

2424
steps:
25-
- uses: actions/checkout@v4
25+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
2626

2727
- name: Set up JDK 17
28-
uses: actions/setup-java@v4
28+
uses: actions/setup-java@3a4f6e1af504cf6a31855fa899c6aa5355ba6c12 # v4.7.0
2929
with:
3030
distribution: temurin
3131
java-version: 17

0 commit comments

Comments
 (0)