Skip to content

Commit 9dfaeac

Browse files
committed
fix: attempts to fix reproducible builds
1 parent eaad5a4 commit 9dfaeac

File tree

3 files changed

+9
-4
lines changed

3 files changed

+9
-4
lines changed

.github/workflows/build-on-push.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,9 @@ jobs:
99
build-on-push:
1010
runs-on: ubuntu-latest
1111

12+
permissions:
13+
contents: read
14+
1215
steps:
1316
- name: checkout
1417
uses: actions/checkout@v5
@@ -21,4 +24,4 @@ jobs:
2124
cache: maven
2225

2326
- name: maven-build-verify
24-
run: mvn --batch-mode --update-snapshots verify
27+
run: mvn --batch-mode --update-snapshots clean verify

.github/workflows/dependabot-pr-auto-merge.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
name: dependabot-pr-auto-merge
22

3-
on: pull_request
4-
5-
3+
on:
4+
pull_request:
5+
branches:
6+
- dev
67
jobs:
78
dependabot-pr-auto-merge:
89
runs-on: ubuntu-latest

pom.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -241,6 +241,7 @@
241241
<generateGitPropertiesFile>true</generateGitPropertiesFile>
242242
<includeOnlyProperties>
243243
<includeOnlyProperty>git.branch</includeOnlyProperty>
244+
<includeOnlyProperty>git.tag</includeOnlyProperty>
244245
<includeOnlyProperty>^git.build.(time|version)$</includeOnlyProperty>
245246
<includeOnlyProperty>^git.commit.id.(abbrev|full)$</includeOnlyProperty>
246247
</includeOnlyProperties>

0 commit comments

Comments
 (0)