42
42
offlinedocs :${{ steps.filter.outputs.offlinedocs }}
43
43
tailnet-integration :${{ steps.filter.outputs.tailnet-integration }}
44
44
steps :
45
+ -name :Harden Runner
46
+ uses :step-security/harden-runner@91182cccc01eb5e619899d80e4e971d6181294a7 # v2.10.1
47
+ with :
48
+ egress-policy :audit
49
+
45
50
-name :Checkout
46
51
uses :actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1
47
52
with :
@@ -157,6 +162,11 @@ jobs:
157
162
if :needs.changes.outputs.offlinedocs-only == 'false' || needs.changes.outputs.ci == 'true' || github.ref == 'refs/heads/main'
158
163
runs-on :${{ github.repository_owner == 'coder' && 'depot-ubuntu-22.04-8' || 'ubuntu-latest' }}
159
164
steps :
165
+ -name :Harden Runner
166
+ uses :step-security/harden-runner@91182cccc01eb5e619899d80e4e971d6181294a7 # v2.10.1
167
+ with :
168
+ egress-policy :audit
169
+
160
170
-name :Checkout
161
171
uses :actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1
162
172
with :
@@ -219,6 +229,11 @@ jobs:
219
229
needs :changes
220
230
if :needs.changes.outputs.docs-only == 'false' || needs.changes.outputs.ci == 'true' || github.ref == 'refs/heads/main'
221
231
steps :
232
+ -name :Harden Runner
233
+ uses :step-security/harden-runner@91182cccc01eb5e619899d80e4e971d6181294a7 # v2.10.1
234
+ with :
235
+ egress-policy :audit
236
+
222
237
-name :Checkout
223
238
uses :actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1
224
239
with :
@@ -268,6 +283,11 @@ jobs:
268
283
runs-on :${{ github.repository_owner == 'coder' && 'depot-ubuntu-22.04-8' || 'ubuntu-latest' }}
269
284
timeout-minutes :7
270
285
steps :
286
+ -name :Harden Runner
287
+ uses :step-security/harden-runner@91182cccc01eb5e619899d80e4e971d6181294a7 # v2.10.1
288
+ with :
289
+ egress-policy :audit
290
+
271
291
-name :Checkout
272
292
uses :actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1
273
293
with :
@@ -304,6 +324,11 @@ jobs:
304
324
-macos-latest
305
325
-windows-2022
306
326
steps :
327
+ -name :Harden Runner
328
+ uses :step-security/harden-runner@91182cccc01eb5e619899d80e4e971d6181294a7 # v2.10.1
329
+ with :
330
+ egress-policy :audit
331
+
307
332
-name :Checkout
308
333
uses :actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1
309
334
with :
@@ -358,6 +383,11 @@ jobs:
358
383
# even if some of the preceding steps are slow.
359
384
timeout-minutes :25
360
385
steps :
386
+ -name :Harden Runner
387
+ uses :step-security/harden-runner@91182cccc01eb5e619899d80e4e971d6181294a7 # v2.10.1
388
+ with :
389
+ egress-policy :audit
390
+
361
391
-name :Checkout
362
392
uses :actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1
363
393
with :
@@ -398,6 +428,11 @@ jobs:
398
428
# even if some of the preceding steps are slow.
399
429
timeout-minutes :25
400
430
steps :
431
+ -name :Harden Runner
432
+ uses :step-security/harden-runner@91182cccc01eb5e619899d80e4e971d6181294a7 # v2.10.1
433
+ with :
434
+ egress-policy :audit
435
+
401
436
-name :Checkout
402
437
uses :actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1
403
438
with :
@@ -430,6 +465,11 @@ jobs:
430
465
if :needs.changes.outputs.go == 'true' || needs.changes.outputs.ci == 'true' || github.ref == 'refs/heads/main'
431
466
timeout-minutes :25
432
467
steps :
468
+ -name :Harden Runner
469
+ uses :step-security/harden-runner@91182cccc01eb5e619899d80e4e971d6181294a7 # v2.10.1
470
+ with :
471
+ egress-policy :audit
472
+
433
473
-name :Checkout
434
474
uses :actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1
435
475
with :
@@ -466,6 +506,11 @@ jobs:
466
506
if :needs.changes.outputs.tailnet-integration == 'true' || needs.changes.outputs.ci == 'true'
467
507
timeout-minutes :20
468
508
steps :
509
+ -name :Harden Runner
510
+ uses :step-security/harden-runner@91182cccc01eb5e619899d80e4e971d6181294a7 # v2.10.1
511
+ with :
512
+ egress-policy :audit
513
+
469
514
-name :Checkout
470
515
uses :actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1
471
516
with :
@@ -487,6 +532,11 @@ jobs:
487
532
if :needs.changes.outputs.ts == 'true' || needs.changes.outputs.ci == 'true' || github.ref == 'refs/heads/main'
488
533
timeout-minutes :20
489
534
steps :
535
+ -name :Harden Runner
536
+ uses :step-security/harden-runner@91182cccc01eb5e619899d80e4e971d6181294a7 # v2.10.1
537
+ with :
538
+ egress-policy :audit
539
+
490
540
-name :Checkout
491
541
uses :actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1
492
542
with :
@@ -514,6 +564,11 @@ jobs:
514
564
name :test-e2e-enterprise
515
565
name :${{ matrix.variant.name }}
516
566
steps :
567
+ -name :Harden Runner
568
+ uses :step-security/harden-runner@91182cccc01eb5e619899d80e4e971d6181294a7 # v2.10.1
569
+ with :
570
+ egress-policy :audit
571
+
517
572
-name :Checkout
518
573
uses :actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1
519
574
with :
@@ -576,6 +631,11 @@ jobs:
576
631
needs :changes
577
632
if :needs.changes.outputs.ts == 'true' || needs.changes.outputs.ci == 'true'
578
633
steps :
634
+ -name :Harden Runner
635
+ uses :step-security/harden-runner@91182cccc01eb5e619899d80e4e971d6181294a7 # v2.10.1
636
+ with :
637
+ egress-policy :audit
638
+
579
639
-name :Checkout
580
640
uses :actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1
581
641
with :
@@ -648,6 +708,11 @@ jobs:
648
708
if :needs.changes.outputs.offlinedocs == 'true' || needs.changes.outputs.ci == 'true' || needs.changes.outputs.docs == 'true'
649
709
650
710
steps :
711
+ -name :Harden Runner
712
+ uses :step-security/harden-runner@91182cccc01eb5e619899d80e4e971d6181294a7 # v2.10.1
713
+ with :
714
+ egress-policy :audit
715
+
651
716
-name :Checkout
652
717
uses :actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1
653
718
with :
@@ -716,6 +781,11 @@ jobs:
716
781
# cancelled.
717
782
if :always()
718
783
steps :
784
+ -name :Harden Runner
785
+ uses :step-security/harden-runner@91182cccc01eb5e619899d80e4e971d6181294a7 # v2.10.1
786
+ with :
787
+ egress-policy :audit
788
+
719
789
-name :Ensure required checks
720
790
run :|
721
791
echo "Checking required checks"
@@ -749,6 +819,11 @@ jobs:
749
819
outputs :
750
820
IMAGE :ghcr.io/coder/coder-preview:${{ steps.build-docker.outputs.tag }}
751
821
steps :
822
+ -name :Harden Runner
823
+ uses :step-security/harden-runner@91182cccc01eb5e619899d80e4e971d6181294a7 # v2.10.1
824
+ with :
825
+ egress-policy :audit
826
+
752
827
-name :Checkout
753
828
uses :actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1
754
829
with :
@@ -868,6 +943,11 @@ jobs:
868
943
contents :read
869
944
id-token :write
870
945
steps :
946
+ -name :Harden Runner
947
+ uses :step-security/harden-runner@91182cccc01eb5e619899d80e4e971d6181294a7 # v2.10.1
948
+ with :
949
+ egress-policy :audit
950
+
871
951
-name :Checkout
872
952
uses :actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1
873
953
with :
@@ -925,6 +1005,11 @@ jobs:
925
1005
needs :build
926
1006
if :github.ref == 'refs/heads/main' && !github.event.pull_request.head.repo.fork
927
1007
steps :
1008
+ -name :Harden Runner
1009
+ uses :step-security/harden-runner@91182cccc01eb5e619899d80e4e971d6181294a7 # v2.10.1
1010
+ with :
1011
+ egress-policy :audit
1012
+
928
1013
-name :Checkout
929
1014
uses :actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1
930
1015
with :
@@ -955,6 +1040,11 @@ jobs:
955
1040
needs :changes
956
1041
if :needs.changes.outputs.db == 'true' || needs.changes.outputs.ci == 'true' || github.ref == 'refs/heads/main'
957
1042
steps :
1043
+ -name :Harden Runner
1044
+ uses :step-security/harden-runner@91182cccc01eb5e619899d80e4e971d6181294a7 # v2.10.1
1045
+ with :
1046
+ egress-policy :audit
1047
+
958
1048
-name :Checkout
959
1049
uses :actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1
960
1050
with :