@@ -10,50 +10,50 @@ jobs:
10
10
build :
11
11
runs-on : ubuntu-latest
12
12
steps :
13
- - uses : actions/checkout@v3
13
+ - uses : actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3
14
14
- name : Get current date
15
15
id : date
16
16
run : echo "::set-output name=date::$(date +'%Y-%m-%d')"
17
17
- name : Set current release version env variable
18
18
run : |
19
19
echo "CURRENT_VERSION=$(mvn help:evaluate -Dexpression=project.version -q -DforceStdout)" >> $GITHUB_ENV
20
20
- name : Find and Replace ${{ env.CURRENT_VERSION }} with ${{ github.event.inputs.targetRelease }} in mkdocs.yml
21
- uses : jacobtomlinson/gha-find-replace@v2
21
+ uses : jacobtomlinson/gha-find-replace@f485fdc3f67a6d87ae6e3d11e41f648c26d7aee3 # v2.0.0
22
22
with :
23
23
find : ' version: ${{ env.CURRENT_VERSION }}'
24
24
replace : ' version: ${{ github.event.inputs.targetRelease }}'
25
25
regex : false
26
26
include : " mkdocs.yml"
27
27
- name : Find and Replace ${{ env.CURRENT_VERSION }} with ${{ github.event.inputs.targetRelease }} in main pom.xml
28
- uses : jacobtomlinson/gha-find-replace@v2
28
+ uses : jacobtomlinson/gha-find-replace@f485fdc3f67a6d87ae6e3d11e41f648c26d7aee3 # v2.0.0
29
29
with :
30
30
find : ${{ env.CURRENT_VERSION }}
31
31
replace : ${{ github.event.inputs.targetRelease }}
32
32
regex : false
33
33
include : " pom.xml"
34
34
- name : Find and Replace ${{ env.CURRENT_VERSION }} with ${{ github.event.inputs.targetRelease }} in modules pom.xml
35
- uses : jacobtomlinson/gha-find-replace@v2
35
+ uses : jacobtomlinson/gha-find-replace@f485fdc3f67a6d87ae6e3d11e41f648c26d7aee3 # v2.0.0
36
36
with :
37
37
find : ${{ env.CURRENT_VERSION }}
38
38
replace : ${{ github.event.inputs.targetRelease }}
39
39
regex : false
40
40
include : " **/*pom.xml"
41
41
- name : Find and Replace ${{ env.CURRENT_VERSION }} with ${{ github.event.inputs.targetRelease }} in build.gradle
42
- uses : jacobtomlinson/gha-find-replace@v2
42
+ uses : jacobtomlinson/gha-find-replace@f485fdc3f67a6d87ae6e3d11e41f648c26d7aee3 # v2.0.0
43
43
with :
44
44
find : ${{ env.CURRENT_VERSION }}
45
45
replace : ${{ github.event.inputs.targetRelease }}
46
46
regex : false
47
47
include : " **/*build.gradle"
48
48
- name : Find and Replace ${{ env.CURRENT_VERSION }} with ${{ github.event.inputs.targetRelease }} in README.md
49
- uses : jacobtomlinson/gha-find-replace@v2
49
+ uses : jacobtomlinson/gha-find-replace@f485fdc3f67a6d87ae6e3d11e41f648c26d7aee3 # v2.0.0
50
50
with :
51
51
find : ${{ env.CURRENT_VERSION }}
52
52
replace : ${{ github.event.inputs.targetRelease }}
53
53
regex : false
54
54
include : " README.md"
55
55
- name : Create changelog placeholder for ${{ github.event.inputs.targetRelease }}
56
- uses : jacobtomlinson/gha-find-replace@v2
56
+ uses : jacobtomlinson/gha-find-replace@f485fdc3f67a6d87ae6e3d11e41f648c26d7aee3 # v2.0.0
57
57
with :
58
58
find : ' ## [Unreleased]'
59
59
replace : |
66
66
regex : false
67
67
include : CHANGELOG.md
68
68
- name : Create Release Pull Request
69
- uses : peter-evans/create-pull-request@v3
69
+ uses : peter-evans/create-pull-request@18f7dc018cc2cd597073088f7c7591b9d1c02672 # v3.14.0
70
70
with :
71
71
commit-message : chore:prep release ${{ github.event.inputs.targetRelease }}
72
72
token : ${{ secrets.RELEASE }}
0 commit comments