13
13
if : github.repository == 'dev-sec/ansible-collection-hardening'
14
14
runs-on : ubuntu-latest
15
15
steps :
16
- - uses : actions/checkout@v4
16
+ - uses : actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4
17
17
with :
18
18
fetch-depth : 0
19
19
ref : master
@@ -26,12 +26,12 @@ jobs:
26
26
27
27
- name : calculate next version
28
28
id : version
29
- uses : patrickjahns/version-drafter-action@v1
29
+ uses : patrickjahns/version-drafter-action@fda4b8e4017bee5dd5794f255a4d484e8e647561 # v1
30
30
env :
31
31
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
32
32
33
33
- name : Generate changelog
34
- uses : charmixer/auto-changelog-action@v1
34
+ uses : charmixer/auto-changelog-action@b25e89c9410e03189f0d48b02b3a8caad6e78015 # v1
35
35
with :
36
36
token : ${{ secrets.GITHUB_TOKEN }}
37
37
future_release : ${{ steps.version.outputs.next-version }}
42
42
issue_line_labels : mysql_hardening,os_hardening,ssh_hardening,nginx_hardening
43
43
44
44
- name : push changelog
45
- uses :
github-actions-x/[email protected]
45
+ uses : github-actions-x/commit@722d56b8968bf00ced78407bbe2ead81062d8baa # v2.9
46
46
with :
47
47
github-token : ${{ secrets.GITHUB_TOKEN }}
48
48
push-branch : ' master'
@@ -58,18 +58,18 @@ jobs:
58
58
59
59
- name : Read CHANGELOG.md
60
60
id : package
61
- uses : juliangruber/read-file-action@v1
61
+ uses : juliangruber/read-file-action@b549046febe0fe86f8cb4f93c24e284433f9ab58 # v1
62
62
with :
63
63
path : ./CHANGELOGRELEASE.md
64
64
65
65
- name : Delete old drafts
66
- uses :
hugo19941994/[email protected]
66
+ uses : hugo19941994/delete-draft-releases@1bdca1ea7ffb25ae7f468a7bdb40056dae98175e # v1.0.1
67
67
env :
68
68
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
69
69
70
70
- name : Create Release draft
71
71
id : create_release
72
- uses : actions/create-release@v1
72
+ uses : actions/create-release@0cb9c9b65d5d1901c1f53e5e66eaf4afd303e70e # v1
73
73
env :
74
74
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }} # This token is provided by Actions, you do not need to create your own token
75
75
with :
0 commit comments