Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit8963cfb

Browse files
committed
Merge remote-tracking branch 'origin' into template-from-scratch-update
2 parents1cbc62b +f0a4de5 commit8963cfb

File tree

106 files changed

+3294
-2055
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

106 files changed

+3294
-2055
lines changed

‎.github/dependabot.yaml

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,13 @@ updates:
5151

5252
# Update our Dockerfile.
5353
-package-ecosystem:"docker"
54-
directory:"/scripts/"
54+
directories:
55+
-"/dogfood/contents"
56+
-"/scripts"
57+
-"/examples/templates/docker/build"
58+
-"/examples/parameters/build"
59+
-"/scaletest/templates/scaletest-runner"
60+
-"/scripts/ironbank"
5561
schedule:
5662
interval:"weekly"
5763
time:"06:00"
@@ -68,6 +74,9 @@ updates:
6874
directories:
6975
-"/site"
7076
-"/offlinedocs"
77+
-"/scripts"
78+
-"/scripts/apidocgen"
79+
7180
schedule:
7281
interval:"monthly"
7382
time:"06:00"

‎.github/workflows/ci.yaml

Lines changed: 6 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -9,16 +9,7 @@ on:
99
workflow_dispatch:
1010

1111
permissions:
12-
actions:none
13-
checks:none
1412
contents:read
15-
deployments:none
16-
issues:none
17-
packages:write
18-
pull-requests:none
19-
repository-projects:none
20-
security-events:none
21-
statuses:none
2213

2314
# Cancel in-progress runs for pull requests when developers push
2415
# additional changes
@@ -197,7 +188,7 @@ jobs:
197188
198189
# Check for any typos
199190
-name:Check for typos
200-
uses:crate-ci/typos@0d9e0c2c1bd7f770f6eb90f87780848ca02fc12c# v1.26.8
191+
uses:crate-ci/typos@d01f29c66d1bf1a08730750f61d86c210b0d039d# v1.27.0
201192
with:
202193
config:.github/workflows/typos.toml
203194

@@ -821,6 +812,8 @@ jobs:
821812
needs:changes
822813
if:github.ref == 'refs/heads/main' && needs.changes.outputs.docs-only == 'false' && !github.event.pull_request.head.repo.fork
823814
runs-on:${{ github.repository_owner == 'coder' && 'depot-ubuntu-22.04-8' || 'ubuntu-latest' }}
815+
permissions:
816+
packages:write# Needed to push images to ghcr.io
824817
env:
825818
DOCKER_CLI_EXPERIMENTAL:"enabled"
826819
outputs:
@@ -961,13 +954,13 @@ jobs:
961954
fetch-depth:0
962955

963956
-name:Authenticate to Google Cloud
964-
uses:google-github-actions/auth@8254fb75a33b976a221574d287e93919e6a36f70# v2.1.6
957+
uses:google-github-actions/auth@6fc4af4b145ae7821d527454aa9bd537d1f2dc5f# v2.1.7
965958
with:
966959
workload_identity_provider:projects/573722524737/locations/global/workloadIdentityPools/github/providers/github
967960
service_account:coder-ci@coder-dogfood.iam.gserviceaccount.com
968961

969962
-name:Set up Google Cloud SDK
970-
uses:google-github-actions/setup-gcloud@f0990588f1e5b5af6827153b93673613abdc6ec7# v2.1.1
963+
uses:google-github-actions/setup-gcloud@6189d56e4096ee891640bb02ac264be376592d6a# v2.1.2
971964

972965
-name:Set up Flux CLI
973966
uses:fluxcd/flux2/action@5350425cdcd5fa015337e09fa502153c0275bd4b# v2.4.0
@@ -976,7 +969,7 @@ jobs:
976969
version:"2.2.1"
977970

978971
-name:Get Cluster Credentials
979-
uses:google-github-actions/get-gke-credentials@6051de21ad50fbb1767bc93c11357a49082ad116# v2.2.1
972+
uses:google-github-actions/get-gke-credentials@206d64b64b0eba0a6e2f25113d044c31776ca8d6# v2.2.2
980973
with:
981974
cluster_name:dogfood-v2
982975
location:us-central1-a

‎.github/workflows/contrib.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,9 @@ on:
1616
# For jobs that don't run on draft PRs.
1717
-ready_for_review
1818

19+
permissions:
20+
contents:read
21+
1922
# Only run one instance per PR to ensure in-order execution.
2023
concurrency:pr-${{ github.ref }}
2124

‎.github/workflows/dogfood.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ jobs:
100100
uses:./.github/actions/setup-tf
101101

102102
-name:Authenticate to Google Cloud
103-
uses:google-github-actions/auth@8254fb75a33b976a221574d287e93919e6a36f70# v2.1.6
103+
uses:google-github-actions/auth@6fc4af4b145ae7821d527454aa9bd537d1f2dc5f# v2.1.7
104104
with:
105105
workload_identity_provider:projects/573722524737/locations/global/workloadIdentityPools/github/providers/github
106106
service_account:coder-ci@coder-dogfood.iam.gserviceaccount.com

‎.github/workflows/mlc_config.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,9 @@
2121
{
2222
"pattern":"support.google.com"
2323
},
24+
{
25+
"pattern":"mailto:"
26+
},
2427
{
2528
"pattern":"tailscale.com"
2629
},

‎.github/workflows/pr-cleanup.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@ on:
88
description:"PR number"
99
required:true
1010

11+
permissions:
12+
contents:read
13+
1114
jobs:
1215
cleanup:
1316
runs-on:"ubuntu-latest"

‎.github/workflows/pr-deploy.yaml

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ jobs:
162162
set -euo pipefail
163163
# build if the workflow is manually triggered and the deployment doesn't exist (first build or force rebuild)
164164
echo "first_or_force_build=${{ (github.event_name == 'workflow_dispatch' && steps.check_deployment.outputs.NEW == 'true') || github.event.inputs.build == 'true' }}" >> $GITHUB_OUTPUT
165-
# build if the deploymentalreday exist and there are changes in the files that we care about (automatic updates)
165+
# build if the deploymentalready exist and there are changes in the files that we care about (automatic updates)
166166
echo "automatic_rebuild=${{ steps.check_deployment.outputs.NEW == 'false' && steps.filter.outputs.all_count > steps.filter.outputs.ignored_count }}" >> $GITHUB_OUTPUT
167167
168168
comment-pr:
@@ -208,14 +208,19 @@ jobs:
208208
permissions:
209209
# Necessary to push docker images to ghcr.io.
210210
packages:write
211-
# This concurrency only cancels build jobs if a new build is triggred. It will avoid cancelling the current deployemtn in case of docschnages.
211+
# This concurrency only cancels build jobs if a new build is triggred. It will avoid cancelling the current deployemtn in case of docschanges.
212212
concurrency:
213213
group:build-${{ github.workflow }}-${{ github.ref }}-${{ needs.get_info.outputs.BUILD }}
214214
cancel-in-progress:true
215215
env:
216216
DOCKER_CLI_EXPERIMENTAL:"enabled"
217217
CODER_IMAGE_TAG:${{ needs.get_info.outputs.CODER_IMAGE_TAG }}
218218
steps:
219+
-name:Harden Runner
220+
uses:step-security/harden-runner@91182cccc01eb5e619899d80e4e971d6181294a7# v2.10.1
221+
with:
222+
egress-policy:audit
223+
219224
-name:Checkout
220225
uses:actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871# v4.2.1
221226
with:
@@ -260,13 +265,20 @@ jobs:
260265
always() && (needs.build.result == 'success' || needs.build.result == 'skipped') &&
261266
(needs.get_info.outputs.BUILD == 'true' || github.event.inputs.deploy == 'true')
262267
runs-on:"ubuntu-latest"
268+
permissions:
269+
pull-requests:write# needed for commenting on PRs
263270
env:
264271
CODER_IMAGE_TAG:${{ needs.get_info.outputs.CODER_IMAGE_TAG }}
265272
PR_NUMBER:${{ needs.get_info.outputs.PR_NUMBER }}
266273
PR_TITLE:${{ needs.get_info.outputs.PR_TITLE }}
267274
PR_URL:${{ needs.get_info.outputs.PR_URL }}
268275
PR_HOSTNAME:"pr${{ needs.get_info.outputs.PR_NUMBER }}.${{ secrets.PR_DEPLOYMENTS_DOMAIN }}"
269276
steps:
277+
-name:Harden Runner
278+
uses:step-security/harden-runner@91182cccc01eb5e619899d80e4e971d6181294a7# v2.10.1
279+
with:
280+
egress-policy:audit
281+
270282
-name:Set up kubeconfig
271283
run:|
272284
set -euo pipefail

‎.github/workflows/release.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -192,14 +192,14 @@ jobs:
192192
# Setup GCloud for signing Windows binaries.
193193
-name:Authenticate to Google Cloud
194194
id:gcloud_auth
195-
uses:google-github-actions/auth@8254fb75a33b976a221574d287e93919e6a36f70# v2.1.6
195+
uses:google-github-actions/auth@6fc4af4b145ae7821d527454aa9bd537d1f2dc5f# v2.1.7
196196
with:
197197
workload_identity_provider:${{ secrets.GCP_CODE_SIGNING_WORKLOAD_ID_PROVIDER }}
198198
service_account:${{ secrets.GCP_CODE_SIGNING_SERVICE_ACCOUNT }}
199199
token_format:"access_token"
200200

201201
-name:Setup GCloud SDK
202-
uses:google-github-actions/setup-gcloud@f0990588f1e5b5af6827153b93673613abdc6ec7# v2.1.1
202+
uses:google-github-actions/setup-gcloud@6189d56e4096ee891640bb02ac264be376592d6a# v2.1.2
203203

204204
-name:Build binaries
205205
run:|
@@ -365,13 +365,13 @@ jobs:
365365
CODER_GPG_RELEASE_KEY_BASE64:${{ secrets.GPG_RELEASE_KEY_BASE64 }}
366366

367367
-name:Authenticate to Google Cloud
368-
uses:google-github-actions/auth@8254fb75a33b976a221574d287e93919e6a36f70# v2.1.6
368+
uses:google-github-actions/auth@6fc4af4b145ae7821d527454aa9bd537d1f2dc5f# v2.1.7
369369
with:
370370
workload_identity_provider:${{ secrets.GCP_WORKLOAD_ID_PROVIDER }}
371371
service_account:${{ secrets.GCP_SERVICE_ACCOUNT }}
372372

373373
-name:Setup GCloud SDK
374-
uses:google-github-actions/setup-gcloud@f0990588f1e5b5af6827153b93673613abdc6ec7# 2.1.1
374+
uses:google-github-actions/setup-gcloud@6189d56e4096ee891640bb02ac264be376592d6a# 2.1.2
375375

376376
-name:Publish Helm Chart
377377
if:${{ !inputs.dry_run }}

‎.github/workflows/typos.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ EDE = "EDE"
2323
# HELO is an SMTP command
2424
HELO ="HELO"
2525
LKE ="LKE"
26+
byt ="byt"
2627

2728
[files]
2829
extend-exclude = [

‎.vscode/extensions.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
"emeraldwalk.runonsave",
99
"zxh404.vscode-proto3",
1010
"redhat.vscode-yaml",
11-
"streetsidesoftware.code-spell-checker",
11+
"tekumara.typos-vscode",
1212
"EditorConfig.EditorConfig",
1313
"biomejs.biome"
1414
]

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp