-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
📝Update lockfile snippet for each version automatic (#151)
Co-authored-by: MartinWitt <[email protected]>
- Loading branch information
1 parent
46d8a15
commit 21038b8
Showing
7 changed files
with
82 additions
and
20 deletions.
There are no files selected for viewing
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -108,16 +108,16 @@ Usage: | |
```yml | ||
name: Lockfile | ||
on: | ||
pull_request: | ||
pull_request: | ||
|
||
|
||
jobs: | ||
check-lockfile: | ||
check-lockfile: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: run maven-lockfile | ||
uses: chains-project/[email protected] | ||
with: | ||
uses: chains-project/maven-lockfile@20c49498ce30d0d6505ef97e8055c7cba90caa9f # v1.1.7 | ||
with: | ||
github-token: ${{ secrets.GITHUB_TOKEN }} | ||
``` | ||
If a pom.xml file is changed this action will add a commit with the updated lockfile to the pull request. | ||
|
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
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -106,19 +106,7 @@ We have created a GithubAction that can be used to validate the integrity of you | |
A sample workflow is shown below: | ||
Usage: | ||
```yml | ||
name: Lockfile | ||
on: | ||
pull_request: | ||
|
||
|
||
jobs: | ||
check-lockfile: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: run maven-lockfile | ||
uses: chains-project/[email protected] | ||
with: | ||
github-token: ${{ secrets.GITHUB_TOKEN }} | ||
${action_content} | ||
``` | ||
If a pom.xml file is changed this action will add a commit with the updated lockfile to the pull request. | ||
Otherwise, it will validate the lockfile and fail if the lockfile is correct. | ||
|