@@ -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
-
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
@@ -515,7 +515,7 @@ jobs:
515
515
name : ${{ matrix.variant.name }}
516
516
steps :
517
517
- name : Checkout
518
- uses : actions/checkout@v4
518
+ uses : actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1
519
519
with :
520
520
fetch-depth : 1
521
521
@@ -556,15 +556,15 @@ jobs:
556
556
557
557
- name : Upload Playwright Failed Tests
558
558
if : always() && github.actor != 'dependabot[bot]' && runner.os == 'Linux' && !github.event.pull_request.head.repo.fork
559
- uses : actions/upload-artifact@v4
559
+ uses : actions/upload-artifact@604373da6381bf24206979c74d06a550515601b9 # v4.4.1
560
560
with :
561
561
name : failed-test-videos${{ matrix.variant.enterprise && '-enterprise' || '-agpl' }}
562
562
path : ./site/test-results/**/*.webm
563
563
retention-days : 7
564
564
565
565
- name : Upload pprof dumps
566
566
if : always() && github.actor != 'dependabot[bot]' && runner.os == 'Linux' && !github.event.pull_request.head.repo.fork
567
- uses : actions/upload-artifact@v4
567
+ uses : actions/upload-artifact@604373da6381bf24206979c74d06a550515601b9 # v4.4.1
568
568
with :
569
569
name : debug-pprof-dumps${{ matrix.variant.enterprise && '-enterprise' || '-agpl' }}
570
570
path : ./site/test-results/**/debug-pprof-*.txt
@@ -577,7 +577,7 @@ jobs:
577
577
if : needs.changes.outputs.ts == 'true' || needs.changes.outputs.ci == 'true'
578
578
steps :
579
579
- name : Checkout
580
- uses : actions/checkout@v4
580
+ uses : actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1
581
581
with :
582
582
# Required by Chromatic for build-over-build history, otherwise we
583
583
# only get 1 commit on shallow checkout.
@@ -591,7 +591,7 @@ jobs:
591
591
# the check to pass. This is desired in PRs, but not in mainline.
592
592
- name : Publish to Chromatic (non-mainline)
593
593
if : github.ref != 'refs/heads/main' && github.repository_owner == 'coder'
594
- uses : chromaui/action@v10
594
+ uses : chromaui/action@30b6228aa809059d46219e0f556752e8672a7e26 # v11.11.0
595
595
env :
596
596
NODE_OPTIONS : " --max_old_space_size=4096"
597
597
STORYBOOK : true
@@ -622,7 +622,7 @@ jobs:
622
622
# infinitely "in progress" in mainline unless we re-review each build.
623
623
- name : Publish to Chromatic (mainline)
624
624
if : github.ref == 'refs/heads/main' && github.repository_owner == 'coder'
625
- uses : chromaui/action@v10
625
+ uses : chromaui/action@30b6228aa809059d46219e0f556752e8672a7e26 # v11.11.0
626
626
env :
627
627
NODE_OPTIONS : " --max_old_space_size=4096"
628
628
STORYBOOK : true
@@ -649,7 +649,7 @@ jobs:
649
649
650
650
steps :
651
651
- name : Checkout
652
- uses : actions/checkout@v4
652
+ uses : actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1
653
653
with :
654
654
# 0 is required here for version.sh to work.
655
655
fetch-depth : 0
@@ -750,12 +750,12 @@ jobs:
750
750
IMAGE : ghcr.io/coder/coder-preview:${{ steps.build-docker.outputs.tag }}
751
751
steps :
752
752
- name : Checkout
753
- uses : actions/checkout@v4
753
+ uses : actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1
754
754
with :
755
755
fetch-depth : 0
756
756
757
757
- name : GHCR Login
758
- uses : docker/login-action@v3
758
+ uses : docker/login-action@9780b0c442fbb1117ed29e0efdff1e18412f7567 # v3.3.0
759
759
with :
760
760
registry : ghcr.io
761
761
username : ${{ github.actor }}
@@ -830,7 +830,7 @@ jobs:
830
830
831
831
- name : Prune old images
832
832
if : github.ref == 'refs/heads/main'
833
-
833
+ uses : vlaurin/action-ghcr-prune@0cf7d39f88546edd31965acba78cdcb0be14d641 # v0.6.0
834
834
with :
835
835
token : ${{ secrets.GITHUB_TOKEN }}
836
836
organization : coder
@@ -845,7 +845,7 @@ jobs:
845
845
846
846
- name : Upload build artifacts
847
847
if : github.ref == 'refs/heads/main'
848
- uses : actions/upload-artifact@v4
848
+ uses : actions/upload-artifact@604373da6381bf24206979c74d06a550515601b9 # v4.4.1
849
849
with :
850
850
name : coder
851
851
path : |
@@ -869,27 +869,27 @@ jobs:
869
869
id-token : write
870
870
steps :
871
871
- name : Checkout
872
- uses : actions/checkout@v4
872
+ uses : actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1
873
873
with :
874
874
fetch-depth : 0
875
875
876
876
- name : Authenticate to Google Cloud
877
- uses : google-github-actions/auth@v2
877
+ uses : google-github-actions/auth@8254fb75a33b976a221574d287e93919e6a36f70 # v2.1.6
878
878
with :
879
879
workload_identity_provider : projects/573722524737/locations/global/workloadIdentityPools/github/providers/github
880
880
service_account :
[email protected]
881
881
882
882
- name : Set up Google Cloud SDK
883
- uses : google-github-actions/setup-gcloud@v2
883
+ uses : google-github-actions/setup-gcloud@f0990588f1e5b5af6827153b93673613abdc6ec7 # v2.1.1
884
884
885
885
- name : Set up Flux CLI
886
- uses : fluxcd/flux2/action@main
886
+ uses : fluxcd/flux2/action@9b3958825a314eb79495c6993ef397ddbf87f32f # v2.2.1
887
887
with :
888
- # Keep this up to date with the version of flux installed in dogfood cluster
888
+ # Keep this and the github action up to date with the version of flux installed in dogfood cluster
889
889
version : " 2.2.1"
890
890
891
891
- name : Get Cluster Credentials
892
- uses : " google-github-actions/get-gke-credentials@v2 "
892
+ uses : google-github-actions/get-gke-credentials@6051de21ad50fbb1767bc93c11357a49082ad116 # v2.2.1
893
893
with :
894
894
cluster_name : dogfood-v2
895
895
location : us-central1-a
@@ -926,12 +926,12 @@ jobs:
926
926
if : github.ref == 'refs/heads/main' && !github.event.pull_request.head.repo.fork
927
927
steps :
928
928
- name : Checkout
929
- uses : actions/checkout@v4
929
+ uses : actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1
930
930
with :
931
931
fetch-depth : 0
932
932
933
933
- name : Setup flyctl
934
- uses : superfly/flyctl-actions/setup-flyctl@master
934
+ uses : superfly/flyctl-actions/setup-flyctl@fc53c09e1bc3be6f54706524e3b82c4f462f77be # v1.5
935
935
936
936
- name : Deploy workspace proxies
937
937
run : |
@@ -956,7 +956,7 @@ jobs:
956
956
if : needs.changes.outputs.db == 'true' || needs.changes.outputs.ci == 'true' || github.ref == 'refs/heads/main'
957
957
steps :
958
958
- name : Checkout
959
- uses : actions/checkout@v4
959
+ uses : actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1
960
960
with :
961
961
fetch-depth : 1
962
962
# We need golang to run the migration main.go
0 commit comments