1313 REGISTRY : docker.io
1414 IMAGE_OWNER : trueberryless
1515 IMAGE_NAME : truzzles
16- NODE_VERSION : 20
16+ NODE_VERSION : 24.10.0
1717
1818jobs :
1919 changesets :
@@ -33,13 +33,15 @@ jobs:
3333 private_key : ${{ secrets.BOT_PRIVATE_KEY }}
3434
3535 - name : Checkout Repo
36- uses : actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955 # v4.3.0
36+ uses : actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
37+ with :
38+ persist-credentials : false
3739
3840 - name : Setup PNPM
39- uses : pnpm/action-setup@a7487c7e89a18df4991f7f222e4898a00d66ddda # v4.1 .0
41+ uses : pnpm/action-setup@41ff72655975bd51cab0327fa583b6e92b6d3061 # v4.2 .0
4042
4143 - name : Setup Node
42- uses : actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4 .0
44+ uses : actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6.0 .0
4345 with :
4446 node-version : ${{ env.NODE_VERSION }}
4547 cache : " pnpm"
5658 title : " ci: release [skip netlify]"
5759 env :
5860 GITHUB_TOKEN : ${{ steps.generate_token.outputs.token}}
59- NPM_TOKEN : ${{ secrets.NPM_TOKEN }}
6061
6162 - name : Get published version
6263 if : steps.changesets.outputs.hasChangesets == 'true'
7475 IMAGE_TAG : ${{ env.IMAGE_TAG }}
7576 steps :
7677 - name : Check out the repo
77- uses : actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955 # v4.3.0
78+ uses : actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
79+ with :
80+ persist-credentials : false
7881
7982 - name : Read version from package.json
8083 id : get_version
@@ -86,34 +89,35 @@ jobs:
8689 needs : [changesets, image-tag]
8790 if : >
8891 (
89- needs.changesets.outputs.hasChangesets == 'false' &&
92+ needs.changesets.outputs.hasChangesets == 'false' &&
9093 (
91- contains(github.event.head_commit.message, 'deploy') ||
94+ contains(github.event.head_commit.message, 'deploy') ||
9295 contains(github.event.head_commit.message, 'release')
9396 )
94- ) ||
97+ ) ||
9598 github.event_name == 'workflow_dispatch'
9699 runs-on : ubuntu-latest
97100 permissions :
98101 contents : write
99102 steps :
100103 - name : Check out the repo
101- uses : actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955 # v4.3 .0
104+ uses : actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0 .0
102105 with :
103106 fetch-depth : 0
107+ persist-credentials : false
104108
105109 - name : Set up Docker Buildx
106110 uses : docker/setup-buildx-action@e468171a9de216ec08956ac3ada2f0791b6bd435 # v3.11.1
107111
108112 - name : Log in to Docker Hub
109- uses : docker/login-action@184bdaa0721073962dff0199f1fb9940f07167d1 # v3.5 .0
113+ uses : docker/login-action@5e57cd118135c172c3672efd75eb46360885c0ef # v3.6 .0
110114 with :
111115 username : ${{ secrets.DOCKER_USERNAME }}
112116 password : ${{ secrets.DOCKER_PASSWORD }}
113117
114118 - name : Extract metadata (tags, labels) for Docker
115119 id : meta
116- uses : docker/metadata-action@c1e51972afc2121e065aed6d45c65596fe445f3f # v5.8 .0
120+ uses : docker/metadata-action@318604b99e75e41977312d83839a89be02ca4893 # v5.9 .0
117121 with :
118122 images : ${{ env.REGISTRY }}/${{ env.IMAGE_OWNER }}/${{ env.IMAGE_NAME }}
119123
@@ -131,7 +135,7 @@ jobs:
131135 run : |
132136 yq eval '.spec.template.spec.containers[0].image = "${{ env.IMAGE_OWNER }}/${{ env.IMAGE_NAME }}:${{ needs.image-tag.outputs.IMAGE_TAG }}"' -i manifest/deployment.yaml
133137
134- - uses : stefanzweifel/git-auto-commit-action@b863ae1933cb653a53c021fe36dbb774e1fb9403 # v5.2 .0
138+ - uses : stefanzweifel/git-auto-commit-action@28e16e81777b558cc906c8750092100bbb34c5e3 # v7.0 .0
135139 with :
136140 commit_message : update deployment.json container image (automated)
137141
@@ -143,7 +147,9 @@ jobs:
143147 contents : write
144148 steps :
145149 - name : Check out the repo
146- uses : actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955 # v4.3.0
150+ uses : actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
151+ with :
152+ persist-credentials : false
147153
148154 - id : extract-changelog
149155 uses : sean0x42/markdown-extract@7b185cbe85263116bbf741e739e7198ba86465dc # v2.1.0
0 commit comments