Skip to content

Commit 037c959

Browse files
aalamuYusuf Alamu Musa
authored and
Yusuf Alamu Musa
committed
HV-2073 - merge conflict resolved
2 parents 9f30894 + 49e1c3d commit 037c959

39 files changed

+487
-181
lines changed

.github/dependabot.yml

+12
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,18 @@
55

66
version: 2
77
updates:
8+
- package-ecosystem: "github-actions"
9+
directory: "/"
10+
schedule:
11+
interval: "monthly"
12+
groups:
13+
workflow-actions:
14+
patterns:
15+
- "*"
16+
allow:
17+
- dependency-name: "actions/*"
18+
- dependency-name: "redhat-actions/*"
19+
assignees: [ "marko-bekhta" ]
820
- package-ecosystem: "maven"
921
directory: "/" # Location of package manifests
1022
schedule:

.github/hibernate-github-bot.yml

+7-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ jira:
77
# Examples:
88
# Bump some-dep-GAV from some-version to some-version in the build-dependencies group
99
# Bump the build-dependencies group with 2 updates
10-
titlePattern: "Bump.*the build-dependencies group( across \\d+ director(ies|y))?( with \\d+ updates?)?"
10+
titlePattern: "Bump.*the (build-dependencies|workflow-actions) group.*+"
1111
ignoreFiles:
1212
# Git
1313
- ".git*"
@@ -47,3 +47,9 @@ develocity:
4747
replacement: "$1"
4848
- pattern: "org.hibernate.validator|Hibernate Validator|main|HEAD|\\d+.\\d+|PR-\\d+"
4949
replacement: "" # Just remove these tags
50+
licenseAgreement:
51+
enabled: true
52+
ignore:
53+
# We ignore all dependabot PRs for a license check:
54+
- user: dependabot[bot]
55+
titlePattern: "Bump.*"

.github/workflows/ci-report.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -23,18 +23,18 @@ jobs:
2323
steps:
2424
# Checkout target branch which has trusted code
2525
- name: Check out target branch
26-
uses: actions/checkout@v4
26+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # 4.2.2
2727
with:
2828
persist-credentials: false
2929
ref: ${{ github.ref }}
3030
- name: Set up Java 21
31-
uses: actions/setup-java@v4
31+
uses: actions/setup-java@3a4f6e1af504cf6a31855fa899c6aa5355ba6c12 # 4.7.0
3232
with:
3333
java-version: 21
3434
distribution: temurin
3535
# https://github.com/actions/cache/blob/main/examples.md#java---maven
3636
- name: Cache local Maven repository
37-
uses: actions/cache@v4
37+
uses: actions/cache@5a3ec84eff668545956fd18022155c47e93e2684 # 4.2.3
3838
with:
3939
path: ~/.m2/repository
4040
# use a different key than workflows running untrusted code
@@ -45,7 +45,7 @@ jobs:
4545
run: ./mvnw -v
4646
- name: Download GitHub Actions artifacts for the Develocity build scans
4747
id: downloadBuildScan
48-
uses: actions/download-artifact@v4
48+
uses: actions/download-artifact@95815c38cf2ff2164869cbab79da8d1f422bc89e # 4.2.1
4949
with:
5050
pattern: build-scan-data-*
5151
github-token: ${{ github.token }}

.github/workflows/ci.yml

+7-5
Original file line numberDiff line numberDiff line change
@@ -83,17 +83,17 @@ jobs:
8383
- name: Support longpaths on Windows
8484
if: "startsWith(matrix.os.runs-on, 'windows')"
8585
run: git config --global core.longpaths true
86-
- uses: actions/checkout@v4
86+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # 4.2.2
8787
with:
8888
persist-credentials: false
8989
- name: Set up Java ${{ matrix.os.java.version }}
90-
uses: actions/setup-java@v4
90+
uses: actions/setup-java@3a4f6e1af504cf6a31855fa899c6aa5355ba6c12 # 4.7.0
9191
with:
9292
java-version: ${{ matrix.os.java.version }}
9393
distribution: temurin
9494
# https://github.com/actions/cache/blob/main/examples.md#java---maven
9595
- name: Cache local Maven repository
96-
uses: actions/cache@v4
96+
uses: actions/cache@5a3ec84eff668545956fd18022155c47e93e2684 # 4.2.3
9797
with:
9898
path: ~/.m2/repository
9999
# use a different key than workflows running in trusted mode
@@ -109,11 +109,12 @@ jobs:
109109
-Pjqassistant -Pdist
110110
env:
111111
DEVELOCITY_ACCESS_KEY: "${{ secrets.DEVELOCITY_ACCESS_KEY || '' }}"
112+
DEVELOCITY_BASE_URL: "${{ env.DEVELOCITY_BASE_URL || 'https://develocity.commonhaus.dev' }}"
112113
# For jobs running on 'pull_request', upload build scan data.
113114
# The actual publishing must be done in a separate job (see ci-report.yml).
114115
# We don't write to the remote cache as that would be unsafe.
115116
- name: Upload GitHub Actions artifact for the Develocity build scan
116-
uses: actions/upload-artifact@v4
117+
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # 4.6.2
117118
if: "${{ github.event_name == 'pull_request' && !cancelled() }}"
118119
with:
119120
name: build-scan-data-standalone-${{ matrix.os.name }}
@@ -127,9 +128,10 @@ jobs:
127128
-Dincontainer -Dincontainer-prepared
128129
env:
129130
DEVELOCITY_ACCESS_KEY: "${{ secrets.DEVELOCITY_ACCESS_KEY || '' }}"
131+
DEVELOCITY_BASE_URL: "${{ env.DEVELOCITY_BASE_URL || 'https://develocity.commonhaus.dev' }}"
130132

131133
- name: Upload GitHub Actions artifact for the Develocity build scan
132-
uses: actions/upload-artifact@v4
134+
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # 4.6.2
133135
if: "${{ github.event_name == 'pull_request' && !cancelled() }}"
134136
with:
135137
name: build-scan-data-incontainer-${{ matrix.os.name }}

.mvn/develocity.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
xmlns="https://www.gradle.com/develocity-maven" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
33
xsi:schemaLocation="https://www.gradle.com/develocity-maven https://www.gradle.com/schema/develocity-maven.xsd">
44
<server>
5-
<url>https://ge.hibernate.org</url>
5+
<url>#{env['DEVELOCITY_BASE_URL']?:'https://develocity.commonhaus.dev'}</url>
66
<allowUntrusted>false</allowUntrusted>
77
</server>
88
<buildScan>

.mvn/extensions.xml

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<extension>
33
<groupId>com.gradle</groupId>
44
<artifactId>develocity-maven-extension</artifactId>
5-
<version>1.23</version>
5+
<version>2.0</version>
66
</extension>
77
<extension>
88
<groupId>com.gradle</groupId>
@@ -12,6 +12,6 @@
1212
<extension>
1313
<groupId>org.hibernate.infra.develocity</groupId>
1414
<artifactId>hibernate-develocity-maven-extension</artifactId>
15-
<version>3.0.1.Final</version>
15+
<version>3.0.3.Final</version>
1616
</extension>
1717
</extensions>

0 commit comments

Comments
 (0)