@@ -16,14 +16,14 @@ jobs:
16
16
runs-on : ubuntu-latest
17
17
steps :
18
18
- name : Checkout with GITHUB Action token
19
- uses : actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # ratchet:actions/checkout@v4
19
+ uses : actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
20
20
with :
21
21
token : ${{ secrets.GITHUB_TOKEN }}
22
22
23
23
# use an app to ensure CI is triggered
24
24
- name : Generate TF docs
25
25
if : github.repository_owner == 'philips-labs'
26
- uses : terraform-docs/gh-actions@e47bfa196e79fa50987ef391be236d9d97b0c786 # ratchet:terraform-docs/gh-actions@ v1.2.0
26
+ uses : terraform-docs/gh-actions@e47bfa196e79fa50987ef391be236d9d97b0c786 # v1.2.0
27
27
with :
28
28
find-dir : .
29
29
git-commit-message : " docs: auto update terraform docs"
33
33
34
34
- name : Generate TF docs (forks)
35
35
if : github.repository_owner != 'philips-labs'
36
- uses : terraform-docs/gh-actions@e47bfa196e79fa50987ef391be236d9d97b0c786 # ratchet:terraform-docs/gh-actions@ v1.2.0
36
+ uses : terraform-docs/gh-actions@e47bfa196e79fa50987ef391be236d9d97b0c786 # v1.2.0
37
37
with :
38
38
find-dir : .
39
39
git-commit-message : " docs: auto update terraform docs"
42
42
# change docs via PR in case of locked main branch
43
43
- name : Create Pull Request (main branch only)
44
44
if : github.ref == 'refs/heads/main' && github.repository_owner == 'philips-labs'
45
- uses : peter-evans/create-pull-request@c5a7806660adbe173f04e3e038b0ccdcd758773c # ratchet:peter-evans/create-pull-request@ v6.1.0
45
+ uses : peter-evans/create-pull-request@c5a7806660adbe173f04e3e038b0ccdcd758773c # v6.1.0
46
46
with :
47
47
token : ${{ secrets.GITHUB_TOKEN }}
48
48
commit-message : " docs: auto update terraform docs"
@@ -56,16 +56,16 @@ jobs:
56
56
needs : [docs]
57
57
runs-on : ubuntu-latest
58
58
steps :
59
- - uses : actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # ratchet:actions/checkout@v4
59
+ - uses : actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
60
60
- name : Configure Git Credentials
61
61
run : |
62
62
git config user.name github-actions[bot]
63
63
git config --global user.email "github-actions[bot]@users.noreply.github.com"
64
- - uses : actions/setup-python@v5
64
+ - uses : actions/setup-python@39cd14951b08e74b54015e9e001cdefcf80e669f # v5.1.1
65
65
with :
66
66
python-version : 3.x
67
67
- run : echo "cache_id=$(date --utc '+%V')" >> $GITHUB_ENV
68
- - uses : actions/cache@v4
68
+ - uses : actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 # v4.0.2
69
69
with :
70
70
key : mkdocs-material-${{ env.cache_id }}
71
71
path : .cache
0 commit comments