@@ -10,50 +10,50 @@ jobs:
1010 build :
1111 runs-on : ubuntu-latest
1212 steps :
13- - uses : actions/checkout@v3
13+ - uses : actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3
1414 - name : Get current date
1515 id : date
1616 run : echo "::set-output name=date::$(date +'%Y-%m-%d')"
1717 - name : Set current release version env variable
1818 run : |
1919 echo "CURRENT_VERSION=$(mvn help:evaluate -Dexpression=project.version -q -DforceStdout)" >> $GITHUB_ENV
2020 - 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
2222 with :
2323 find : ' version: ${{ env.CURRENT_VERSION }}'
2424 replace : ' version: ${{ github.event.inputs.targetRelease }}'
2525 regex : false
2626 include : " mkdocs.yml"
2727 - 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
2929 with :
3030 find : ${{ env.CURRENT_VERSION }}
3131 replace : ${{ github.event.inputs.targetRelease }}
3232 regex : false
3333 include : " pom.xml"
3434 - 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
3636 with :
3737 find : ${{ env.CURRENT_VERSION }}
3838 replace : ${{ github.event.inputs.targetRelease }}
3939 regex : false
4040 include : " **/*pom.xml"
4141 - 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
4343 with :
4444 find : ${{ env.CURRENT_VERSION }}
4545 replace : ${{ github.event.inputs.targetRelease }}
4646 regex : false
4747 include : " **/*build.gradle"
4848 - 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
5050 with :
5151 find : ${{ env.CURRENT_VERSION }}
5252 replace : ${{ github.event.inputs.targetRelease }}
5353 regex : false
5454 include : " README.md"
5555 - 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
5757 with :
5858 find : ' ## [Unreleased]'
5959 replace : |
6666 regex : false
6767 include : CHANGELOG.md
6868 - name : Create Release Pull Request
69- uses : peter-evans/create-pull-request@v3
69+ uses : peter-evans/create-pull-request@18f7dc018cc2cd597073088f7c7591b9d1c02672 # v3.14.0
7070 with :
7171 commit-message : chore:prep release ${{ github.event.inputs.targetRelease }}
7272 token : ${{ secrets.RELEASE }}
0 commit comments