File tree Expand file tree Collapse file tree 2 files changed +28
-1
lines changed Expand file tree Collapse file tree 2 files changed +28
-1
lines changed Original file line number Diff line number Diff line change 1
1
name : Lockfile
2
2
on :
3
- pull_request :
3
+ push :
4
+ branches :
5
+ - main
4
6
5
7
permissions :
6
8
contents : read
Original file line number Diff line number Diff line change
1
+ name : LockfilePR
2
+ on :
3
+ pull_request :
4
+
5
+ permissions :
6
+ contents : read
7
+ jobs :
8
+ check-lockfile :
9
+ permissions :
10
+ contents : write
11
+ runs-on : ubuntu-latest
12
+ steps :
13
+ - name : run maven-lockfile
14
+ if : ${{ github.event.pull_request.head.repo.full_name == github.repository }}
15
+ uses : chains-project/maven-lockfile@6572b9abec75a66b669cc6d432bdaf0ec25a92e3 # v5.0.0
16
+ with :
17
+ github-token : ${{ secrets.JRELEASER_GITHUB_TOKEN }}
18
+ include-maven-plugins : true
19
+
20
+ - name : run maven-lockfile (fork/external)
21
+ if : ${{ github.event.pull_request.head.repo.full_name != github.repository }}
22
+ uses : chains-project/maven-lockfile@6572b9abec75a66b669cc6d432bdaf0ec25a92e3 # v5.0.0
23
+ with :
24
+ github-token : ${{ secrets.GITHUB_TOKEN }}
25
+ include-maven-plugins : true
You can’t perform that action at this time.
0 commit comments