@@ -43,12 +43,12 @@ jobs:
43
43
tailnet-integration : ${{ steps.filter.outputs.tailnet-integration }}
44
44
steps :
45
45
- name : Checkout
46
- uses : actions/checkout@v4
46
+ uses : actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1
47
47
with :
48
48
fetch-depth : 1
49
49
# For pull requests it's not necessary to checkout the code
50
50
- name : check changed files
51
- uses : dorny/paths-filter@v3
51
+ uses : dorny/paths-filter@de90cc6fb38fc0963ad72b210f1f284cd68cea36 # v3.0.2
52
52
id : filter
53
53
with :
54
54
filters : |
@@ -125,7 +125,7 @@ jobs:
125
125
# runs-on: ${{ github.repository_owner == 'coder' && 'depot-ubuntu-22.04-8' || 'ubuntu-latest' }}
126
126
# steps:
127
127
# - name: Checkout
128
- # uses: actions/checkout@v4
128
+ # uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1
129
129
# with:
130
130
# fetch-depth: 1
131
131
# # See: https://github.com/stefanzweifel/git-auto-commit-action?tab=readme-ov-file#commits-made-by-this-action-do-not-trigger-new-workflow-runs
@@ -138,7 +138,7 @@ jobs:
138
138
# run: ./scripts/update-flake.sh
139
139
140
140
# # auto update flake for dependabot
141
- # - uses: stefanzweifel/git-auto-commit-action@v5
141
+ # - uses: stefanzweifel/git-auto-commit-action@8621497c8c39c72f3e2a999a26b4ca1b5058a842 # v5.0.1
142
142
# if: github.actor == 'dependabot[bot]'
143
143
# with:
144
144
# # Allows dependabot to still rebase!
@@ -158,7 +158,7 @@ jobs:
158
158
runs-on : ${{ github.repository_owner == 'coder' && 'depot-ubuntu-22.04-8' || 'ubuntu-latest' }}
159
159
steps :
160
160
- name : Checkout
161
- uses : actions/checkout@v4
161
+ uses : actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1
162
162
with :
163
163
fetch-depth : 1
164
164
@@ -176,7 +176,7 @@ jobs:
176
176
echo "LINT_CACHE_DIR=$dir" >> $GITHUB_ENV
177
177
178
178
- name : golangci-lint cache
179
- uses : actions/cache@v4
179
+ uses : actions/cache@2cdf405574d6ef1f33a1d12acccd3ae82f47b3f2 # v4.1.0
180
180
with :
181
181
path : |
182
182
${{ env.LINT_CACHE_DIR }}
@@ -186,7 +186,7 @@ jobs:
186
186
187
187
# Check for any typos
188
188
- name : Check for typos
189
- uses : crate-ci/typos@v1.26.0
189
+ uses : crate-ci/typos@6802cc60d4e7f78b9d5454f6cf3935c042d5e1e3 # v1.26.0
190
190
with :
191
191
config : .github/workflows/typos.toml
192
192
@@ -199,7 +199,7 @@ jobs:
199
199
200
200
# Needed for helm chart linting
201
201
- name : Install helm
202
- uses : azure/setup-helm@v4
202
+ uses : azure/setup-helm@fe7b79cd5ee1e45176fcad797de68ecaf3ca4814 # v4.2.0
203
203
with :
204
204
version : v3.9.2
205
205
@@ -220,7 +220,7 @@ jobs:
220
220
if : needs.changes.outputs.docs-only == 'false' || needs.changes.outputs.ci == 'true' || github.ref == 'refs/heads/main'
221
221
steps :
222
222
- name : Checkout
223
- uses : actions/checkout@v4
223
+ uses : actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1
224
224
with :
225
225
fetch-depth : 1
226
226
@@ -269,7 +269,7 @@ jobs:
269
269
timeout-minutes : 7
270
270
steps :
271
271
- name : Checkout
272
- uses : actions/checkout@v4
272
+ uses : actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1
273
273
with :
274
274
fetch-depth : 1
275
275
@@ -305,7 +305,7 @@ jobs:
305
305
- windows-2022
306
306
steps :
307
307
- name : Checkout
308
- uses : actions/checkout@v4
308
+ uses : actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1
309
309
with :
310
310
fetch-depth : 1
311
311
@@ -359,7 +359,7 @@ jobs:
359
359
timeout-minutes : 25
360
360
steps :
361
361
- name : Checkout
362
- uses : actions/checkout@v4
362
+ uses : actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1
363
363
with :
364
364
fetch-depth : 1
365
365
@@ -399,7 +399,7 @@ jobs:
399
399
timeout-minutes : 25
400
400
steps :
401
401
- name : Checkout
402
- uses : actions/checkout@v4
402
+ uses : actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1
403
403
with :
404
404
fetch-depth : 1
405
405
@@ -431,7 +431,7 @@ jobs:
431
431
timeout-minutes : 25
432
432
steps :
433
433
- name : Checkout
434
- uses : actions/checkout@v4
434
+ uses : actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1
435
435
with :
436
436
fetch-depth : 1
437
437
@@ -467,7 +467,7 @@ jobs:
467
467
timeout-minutes : 20
468
468
steps :
469
469
- name : Checkout
470
- uses : actions/checkout@v4
470
+ uses : actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1
471
471
with :
472
472
fetch-depth : 1
473
473
@@ -488,7 +488,7 @@ jobs:
488
488
timeout-minutes : 20
489
489
steps :
490
490
- name : Checkout
491
- uses : actions/checkout@v4
491
+ uses : actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1
492
492
with :
493
493
fetch-depth : 1
494
494
@@ -514,7 +514,7 @@ jobs:
514
514
name : ${{ matrix.variant.name }}
515
515
steps :
516
516
- name : Checkout
517
- uses : actions/checkout@v4
517
+ uses : actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1
518
518
with :
519
519
fetch-depth : 1
520
520
@@ -555,15 +555,15 @@ jobs:
555
555
556
556
- name : Upload Playwright Failed Tests
557
557
if : always() && github.actor != 'dependabot[bot]' && runner.os == 'Linux' && !github.event.pull_request.head.repo.fork
558
- uses : actions/upload-artifact@v4
558
+ uses : actions/upload-artifact@604373da6381bf24206979c74d06a550515601b9 # v4.4.1
559
559
with :
560
560
name : failed-test-videos${{ matrix.variant.enterprise && '-enterprise' || '-agpl' }}
561
561
path : ./site/test-results/**/*.webm
562
562
retention-days : 7
563
563
564
564
- name : Upload pprof dumps
565
565
if : always() && github.actor != 'dependabot[bot]' && runner.os == 'Linux' && !github.event.pull_request.head.repo.fork
566
- uses : actions/upload-artifact@v4
566
+ uses : actions/upload-artifact@604373da6381bf24206979c74d06a550515601b9 # v4.4.1
567
567
with :
568
568
name : debug-pprof-dumps${{ matrix.variant.enterprise && '-enterprise' || '-agpl' }}
569
569
path : ./site/test-results/**/debug-pprof-*.txt
@@ -576,7 +576,7 @@ jobs:
576
576
if : needs.changes.outputs.ts == 'true' || needs.changes.outputs.ci == 'true'
577
577
steps :
578
578
- name : Checkout
579
- uses : actions/checkout@v4
579
+ uses : actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1
580
580
with :
581
581
# Required by Chromatic for build-over-build history, otherwise we
582
582
# only get 1 commit on shallow checkout.
@@ -590,7 +590,7 @@ jobs:
590
590
# the check to pass. This is desired in PRs, but not in mainline.
591
591
- name : Publish to Chromatic (non-mainline)
592
592
if : github.ref != 'refs/heads/main' && github.repository_owner == 'coder'
593
- uses : chromaui/action@v10
593
+ uses : chromaui/action@30b6228aa809059d46219e0f556752e8672a7e26 # v11.11.0
594
594
env :
595
595
NODE_OPTIONS : " --max_old_space_size=4096"
596
596
STORYBOOK : true
@@ -621,7 +621,7 @@ jobs:
621
621
# infinitely "in progress" in mainline unless we re-review each build.
622
622
- name : Publish to Chromatic (mainline)
623
623
if : github.ref == 'refs/heads/main' && github.repository_owner == 'coder'
624
- uses : chromaui/action@v10
624
+ uses : chromaui/action@30b6228aa809059d46219e0f556752e8672a7e26 # v11.11.0
625
625
env :
626
626
NODE_OPTIONS : " --max_old_space_size=4096"
627
627
STORYBOOK : true
@@ -648,7 +648,7 @@ jobs:
648
648
649
649
steps :
650
650
- name : Checkout
651
- uses : actions/checkout@v4
651
+ uses : actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1
652
652
with :
653
653
# 0 is required here for version.sh to work.
654
654
fetch-depth : 0
@@ -749,12 +749,12 @@ jobs:
749
749
IMAGE : ghcr.io/coder/coder-preview:${{ steps.build-docker.outputs.tag }}
750
750
steps :
751
751
- name : Checkout
752
- uses : actions/checkout@v4
752
+ uses : actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1
753
753
with :
754
754
fetch-depth : 0
755
755
756
756
- name : GHCR Login
757
- uses : docker/login-action@v3
757
+ uses : docker/login-action@9780b0c442fbb1117ed29e0efdff1e18412f7567 # v3.3.0
758
758
with :
759
759
registry : ghcr.io
760
760
username : ${{ github.actor }}
@@ -829,7 +829,7 @@ jobs:
829
829
830
830
- name : Prune old images
831
831
if : github.ref == 'refs/heads/main'
832
- uses : vlaurin/action-ghcr-prune@v0.6.0
832
+ uses : vlaurin/action-ghcr-prune@0cf7d39f88546edd31965acba78cdcb0be14d641 # v0.6.0
833
833
with :
834
834
token : ${{ secrets.GITHUB_TOKEN }}
835
835
organization : coder
@@ -844,7 +844,7 @@ jobs:
844
844
845
845
- name : Upload build artifacts
846
846
if : github.ref == 'refs/heads/main'
847
- uses : actions/upload-artifact@v4
847
+ uses : actions/upload-artifact@604373da6381bf24206979c74d06a550515601b9 # v4.4.1
848
848
with :
849
849
name : coder
850
850
path : |
@@ -868,27 +868,27 @@ jobs:
868
868
id-token : write
869
869
steps :
870
870
- name : Checkout
871
- uses : actions/checkout@v4
871
+ uses : actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1
872
872
with :
873
873
fetch-depth : 0
874
874
875
875
- name : Authenticate to Google Cloud
876
- uses : google-github-actions/auth@v2
876
+ uses : google-github-actions/auth@8254fb75a33b976a221574d287e93919e6a36f70 # v2.1.6
877
877
with :
878
878
workload_identity_provider : projects/573722524737/locations/global/workloadIdentityPools/github/providers/github
879
879
service_account : coder-ci@coder-dogfood.iam.gserviceaccount.com
880
880
881
881
- name : Set up Google Cloud SDK
882
- uses : google-github-actions/setup-gcloud@v2
882
+ uses : google-github-actions/setup-gcloud@f0990588f1e5b5af6827153b93673613abdc6ec7 # v2.1.1
883
883
884
884
- name : Set up Flux CLI
885
- uses : fluxcd/flux2/action@main
885
+ uses : fluxcd/flux2/action@9b3958825a314eb79495c6993ef397ddbf87f32f # v2.2.1
886
886
with :
887
- # Keep this up to date with the version of flux installed in dogfood cluster
887
+ # Keep this and the github action up to date with the version of flux installed in dogfood cluster
888
888
version : " 2.2.1"
889
889
890
890
- name : Get Cluster Credentials
891
- uses : " google-github-actions/get-gke-credentials@v2 "
891
+ uses : google-github-actions/get-gke-credentials@6051de21ad50fbb1767bc93c11357a49082ad116 # v2.2.1
892
892
with :
893
893
cluster_name : dogfood-v2
894
894
location : us-central1-a
@@ -925,12 +925,12 @@ jobs:
925
925
if : github.ref == 'refs/heads/main' && !github.event.pull_request.head.repo.fork
926
926
steps :
927
927
- name : Checkout
928
- uses : actions/checkout@v4
928
+ uses : actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1
929
929
with :
930
930
fetch-depth : 0
931
931
932
932
- name : Setup flyctl
933
- uses : superfly/flyctl-actions/setup-flyctl@master
933
+ uses : superfly/flyctl-actions/setup-flyctl@fc53c09e1bc3be6f54706524e3b82c4f462f77be # v1.5
934
934
935
935
- name : Deploy workspace proxies
936
936
run : |
@@ -955,7 +955,7 @@ jobs:
955
955
if : needs.changes.outputs.db == 'true' || needs.changes.outputs.ci == 'true' || github.ref == 'refs/heads/main'
956
956
steps :
957
957
- name : Checkout
958
- uses : actions/checkout@v4
958
+ uses : actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1
959
959
with :
960
960
fetch-depth : 1
961
961
# We need golang to run the migration main.go
0 commit comments