Skip to content

Commit 140cedb

Browse files
authored
👷 ci: Use version 5.4.1 in action (#1098)
1 parent 1102e1a commit 140cedb

File tree

5 files changed

+11
-11
lines changed

5 files changed

+11
-11
lines changed

.github/workflows/Lockfile.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
sh.jbang.dev:443
2727
2828
- name: run maven-lockfile
29-
uses: chains-project/maven-lockfile@7a3323799269e0f3f1c1921411bb04aadf98eb77 # v5.4.0
29+
uses: chains-project/maven-lockfile@352fc01e7c64fdd4766d54931b14f03f958c62da # v5.4.1
3030
with:
3131
github-token: ${{ secrets.JRELEASER_GITHUB_TOKEN }}
3232
include-maven-plugins: true

.github/workflows/LockfilePR.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,14 +25,14 @@ jobs:
2525
2626
- name: run maven-lockfile
2727
if: ${{ github.event.pull_request.head.repo.full_name == github.repository }}
28-
uses: chains-project/maven-lockfile@7a3323799269e0f3f1c1921411bb04aadf98eb77 # v5.4.0
28+
uses: chains-project/maven-lockfile@352fc01e7c64fdd4766d54931b14f03f958c62da # v5.4.1
2929
with:
3030
github-token: ${{ secrets.JRELEASER_GITHUB_TOKEN }}
3131
include-maven-plugins: true
3232

3333
- name: run maven-lockfile (fork/external)
3434
if: ${{ github.event.pull_request.head.repo.full_name != github.repository }}
35-
uses: chains-project/maven-lockfile@7a3323799269e0f3f1c1921411bb04aadf98eb77 # v5.4.0
35+
uses: chains-project/maven-lockfile@352fc01e7c64fdd4766d54931b14f03f958c62da # v5.4.1
3636
with:
3737
github-token: ${{ secrets.GITHUB_TOKEN }}
3838
include-maven-plugins: true

.github/workflows/jreleaser.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ jobs:
6464
if: ${{ github.event.inputs.version == 'major' || github.event.inputs.version == 'minor' }}
6565
run: echo "NEXT_VERSION=$(semver next ${{ github.event.inputs.version }} $CURRENT_VERSION)" >> $GITHUB_ENV
6666
- name: run maven-lockfile (validate lockfile)
67-
uses: chains-project/maven-lockfile@6d8b811f6ff24135623a50e511d75dcad2402cf2 # v5.3.6-SNAPSHOT
67+
uses: chains-project/maven-lockfile@352fc01e7c64fdd4766d54931b14f03f958c62da # v5.4.1
6868
with:
6969
github-token: ${{ secrets.GITHUB_TOKEN }}
7070
include-maven-plugins: true
@@ -76,7 +76,7 @@ jobs:
7676
- name: Generate Readme
7777
run : mvn generate-resources resources:copy-resources
7878
- name: run maven-lockfile (generate new lockfile for release version)
79-
run: mvn io.github.chains-project:maven-lockfile:5.4.0:generate
79+
run: mvn io.github.chains-project:maven-lockfile:5.4.1:generate
8080
shell: bash
8181
- name: commit changes
8282
run: |
@@ -125,7 +125,7 @@ jobs:
125125
- name: Generate Readme
126126
run : mvn generate-resources resources:copy-resources -q
127127
- name: run maven-lockfile (generate new lockfile for -SNAPSHOT version)
128-
run: mvn io.github.chains-project:maven-lockfile:5.4.0:generate
128+
run: mvn io.github.chains-project:maven-lockfile:5.4.1:generate
129129
shell: bash
130130
# Commit and push changes
131131
- name: Commit & Push changes

.github/workflows/regenerate-lockfile.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,6 @@ jobs:
2424
sh.jbang.dev:443
2525
2626
- name: run maven-lockfile
27-
uses: chains-project/maven-lockfile@7a3323799269e0f3f1c1921411bb04aadf98eb77 # v5.4.0
27+
uses: chains-project/maven-lockfile@352fc01e7c64fdd4766d54931b14f03f958c62da # v5.4.1
2828
with:
2929
github-token: ${{ secrets.GITHUB_TOKEN }}

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ jobs:
169169
runs-on: ubuntu-latest
170170
steps:
171171
- name: run maven-lockfile
172-
uses: chains-project/maven-lockfile@bdabb56b82feb242cd543af007b333bd8276e44e # v5.3.5
172+
uses: chains-project/maven-lockfile@352fc01e7c64fdd4766d54931b14f03f958c62da # v5.4.1
173173
with:
174174
github-token: ${{ secrets.JRELEASER_GITHUB_TOKEN }}
175175
include-maven-plugins: true
@@ -190,7 +190,7 @@ It still works for pull requests from the same repository. Renovate also works w
190190
Extended github actions example with all available options:
191191
192192
```yml
193-
- uses: chains-project/maven-lockfile@bdabb56b82feb242cd543af007b333bd8276e44e # v5.3.5
193+
- uses: chains-project/maven-lockfile@352fc01e7c64fdd4766d54931b14f03f958c62da # v5.4.1
194194
with:
195195
# Required. The GitHub token used to commit the updated lockfile to the repository.
196196
- github-token: ${{ secrets.JRELEASER_GITHUB_TOKEN }}
@@ -230,11 +230,11 @@ If you are setting the `-SNAPSHOT` version in the release action/script as well
230230

231231
As an example, the steps for the CI in maven-lockfile is:
232232
* set the version from `X.Y.Z-SNAPSHOT` to `X.Y.Z` in `pom.xml`
233-
* run maven-lockfile using `mvn io.github.chains-project:maven-lockfile:5.3.5:generate`
233+
* run maven-lockfile using `mvn io.github.chains-project:maven-lockfile:5.4.1:generate`
234234
* build and release
235235
* create `Releasing version X.Y.Z` commit and tag it with `vX.Y.Z`
236236
* set the version to `X.Y.(Z+1)-SNAPSHOT` in `pom.xml`
237-
* run maven-lockfile using `mvn io.github.chains-project:maven-lockfile:5.3.5:generate`
237+
* run maven-lockfile using `mvn io.github.chains-project:maven-lockfile:5.4.1:generate`
238238
* create `Setting SNAPSHOT version X.Y.(Z+1)-SNAPSHOT` commit
239239

240240
## Related work

0 commit comments

Comments
 (0)