👷 ci: Use latest version of maven-lockfile is CI actions and push rel… #3651
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Lockfile | |
on: | |
push: | |
branches: | |
- main | |
permissions: | |
contents: read | |
jobs: | |
check-lockfile: | |
permissions: | |
contents: write | |
runs-on: ubuntu-latest | |
steps: | |
- name: Harden Runner | |
uses: step-security/harden-runner@0080882f6c36860b6ba35c610c98ce87d4e2f26f # v2.10.2 | |
with: | |
disable-sudo: true | |
egress-policy: block | |
allowed-endpoints: > | |
github.com:443 | |
objects.githubusercontent.com:443 | |
raw.githubusercontent.com:443 | |
repo.maven.apache.org:443 | |
repo1.maven.org:443 | |
sh.jbang.dev:443 | |
- name: run maven-lockfile | |
uses: chains-project/maven-lockfile@611060d93984a0a72c1c895eab39c13b09852d4c # v5.3.0 | |
with: | |
github-token: ${{ secrets.JRELEASER_GITHUB_TOKEN }} | |
include-maven-plugins: true |