@@ -11,29 +11,29 @@ jobs:
11
11
12
12
steps :
13
13
- name : Checkout the requested branch
14
- uses : actions/checkout@v4
14
+ uses : actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4
15
15
- name : Fetch all tags and branches
16
16
run : git fetch --prune --unshallow
17
17
- name : Cache Tools
18
- uses : actions/cache@v4
18
+ uses : actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 # v4
19
19
with :
20
20
path : tools
21
21
key : ${{ runner.os }}-tools-${{ hashFiles('recipe.cake', '.config/dotnet-tools.json') }}
22
22
- name : Set up git version
23
23
if : ${{ !contains(github.ref, '/hotfix/') && !contains(github.ref, '/release/') }}
24
- uses :
gittools/actions/gitversion/[email protected]
24
+ uses : gittools/actions/gitversion/setup@a91d2e8b65fa493e04e072c115068cbd4a6f03f8 # v0.9.9
25
25
with :
26
26
versionSpec : " 5.x"
27
27
- name : Run git version
28
28
if : ${{ !contains(github.ref, '/hotfix/') && !contains(github.ref, '/release/') }}
29
29
id : gitversion
30
- uses :
gittools/actions/gitversion/[email protected]
30
+ uses : gittools/actions/gitversion/execute@a91d2e8b65fa493e04e072c115068cbd4a6f03f8 # v0.9.9
31
31
- name : Create release branch ${{ github.event.inputs.version }}
32
32
if : ${{ steps.gitversion.outputs.majorMinorPatch }}
33
33
run : git switch -c release/${{ steps.gitversion.outputs.majorMinorPatch }}
34
34
- name : Push new branch
35
35
if : ${{ steps.gitversion.outputs.majorMinorPatch }}
36
-
36
+ uses : ad-m/github-push-action@40bf560936a8022e68a3c00e7d2abefaf01305a6 # v0.6.0
37
37
with :
38
38
branch : " release/${{ steps.gitversion.outputs.majorMinorPatch }}"
39
39
github_token : ${{ secrets.GH_TOKEN }}
0 commit comments