Skip to content

Commit b25317a

Browse files
authored
Merge branch 'main' into feat/nexus-repository-module
2 parents 3bdcac7 + f28bcdb commit b25317a

File tree

191 files changed

+8907
-1836
lines changed

Some content is hidden

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

191 files changed

+8907
-1836
lines changed

.github/copilot-instructions.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
../AGENTS.md

.github/scripts/version-bump.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -192,8 +192,8 @@ main() {
192192

193193
# Always run formatter to ensure consistent formatting
194194
echo "🔧 Running formatter to ensure consistent formatting..."
195-
if command -v bun >/dev/null 2>&1; then
196-
bun fmt >/dev/null 2>&1 || echo "⚠️ Warning: bun fmt failed, but continuing..."
195+
if command -v bun > /dev/null 2>&1; then
196+
bun fmt > /dev/null 2>&1 || echo "⚠️ Warning: bun fmt failed, but continuing..."
197197
else
198198
echo "⚠️ Warning: bun not found, skipping formatting"
199199
fi

.github/typos.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
[default.extend-words]
22
muc = "muc" # For Munich location code
3+
tyo = "tyo" # For Tokyo location code
34
Hashi = "Hashi"
45
HashiCorp = "HashiCorp"
56
mavrickrishi = "mavrickrishi" # Username

.github/workflows/ci.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ jobs:
4848
- name: Validate formatting
4949
run: bun fmt:ci
5050
- name: Check for typos
51-
uses: crate-ci/typos@v1.35.5
51+
uses: crate-ci/typos@v1.37.2
5252
with:
5353
config: .github/typos.toml
5454
validate-readme-files:
@@ -61,7 +61,7 @@ jobs:
6161
- name: Check out code
6262
uses: actions/checkout@v5
6363
- name: Set up Go
64-
uses: actions/setup-go@v5
64+
uses: actions/setup-go@v6
6565
with:
6666
go-version: "1.23.2"
6767
- name: Validate contributors

.github/workflows/deploy-registry.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,12 +30,12 @@ jobs:
3030
- name: Checkout code
3131
uses: actions/checkout@v5
3232
- name: Authenticate with Google Cloud
33-
uses: google-github-actions/auth@b7593ed2efd1c1617e1b0254da33b86225adb2a5
33+
uses: google-github-actions/auth@7c6bc770dae815cd3e89ee6cdf493a5fab2cc093
3434
with:
3535
workload_identity_provider: projects/309789351055/locations/global/workloadIdentityPools/github-actions/providers/github
3636
service_account: [email protected]
3737
- name: Set up Google Cloud SDK
38-
uses: google-github-actions/setup-gcloud@26f734c2779b00b7dda794207734c511110a4368
38+
uses: google-github-actions/setup-gcloud@aa5489c8933f4cc7a4f7d45035b3b1440c9c10db
3939
- name: Deploy to dev.registry.coder.com
4040
run: gcloud builds triggers run 29818181-126d-4f8a-a937-f228b27d3d34 --branch main
4141
- name: Deploy to registry.coder.com

.github/workflows/golangci-lint.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,10 @@ jobs:
1515
runs-on: ubuntu-latest
1616
steps:
1717
- uses: actions/checkout@v5
18-
- uses: actions/setup-go@v5
18+
- uses: actions/setup-go@v6
1919
with:
2020
go-version: stable
2121
- name: golangci-lint
2222
uses: golangci/golangci-lint-action@v8
2323
with:
24-
version: v2.1
24+
version: v2.1

.github/workflows/release.yml

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -11,33 +11,33 @@ jobs:
1111
permissions:
1212
contents: write
1313
pull-requests: read
14-
14+
1515
steps:
1616
- name: Checkout code
1717
uses: actions/checkout@v5
1818
with:
1919
fetch-depth: 0
2020
persist-credentials: false
21-
21+
2222
- name: Extract tag information
2323
id: tag_info
2424
run: |
2525
TAG=${GITHUB_REF#refs/tags/}
2626
echo "tag=$TAG" >> $GITHUB_OUTPUT
27-
27+
2828
IFS='/' read -ra PARTS <<< "$TAG"
2929
NAMESPACE="${PARTS[1]}"
3030
MODULE="${PARTS[2]}"
3131
VERSION="${PARTS[3]}"
32-
32+
3333
echo "namespace=$NAMESPACE" >> $GITHUB_OUTPUT
3434
echo "module=$MODULE" >> $GITHUB_OUTPUT
3535
echo "version=$VERSION" >> $GITHUB_OUTPUT
3636
echo "module_path=registry/$NAMESPACE/modules/$MODULE" >> $GITHUB_OUTPUT
37-
37+
3838
RELEASE_TITLE="$NAMESPACE/$MODULE $VERSION"
3939
echo "release_title=$RELEASE_TITLE" >> $GITHUB_OUTPUT
40-
40+
4141
- name: Find previous tag
4242
id: prev_tag
4343
env:
@@ -46,15 +46,15 @@ jobs:
4646
CURRENT_TAG: ${{ steps.tag_info.outputs.tag }}
4747
run: |
4848
PREV_TAG=$(git tag -l "release/$NAMESPACE/$MODULE/v*" | sort -V | grep -B1 "$CURRENT_TAG" | head -1)
49-
49+
5050
if [ -z "$PREV_TAG" ] || [ "$PREV_TAG" = "$CURRENT_TAG" ]; then
5151
echo "No previous tag found, using initial commit"
5252
PREV_TAG=$(git rev-list --max-parents=0 HEAD)
5353
fi
54-
54+
5555
echo "prev_tag=$PREV_TAG" >> $GITHUB_OUTPUT
5656
echo "Previous tag: $PREV_TAG"
57-
57+
5858
- name: Generate changelog
5959
id: changelog
6060
env:
@@ -64,15 +64,15 @@ jobs:
6464
CURRENT_TAG: ${{ steps.tag_info.outputs.tag }}
6565
run: |
6666
echo "Generating changelog for $MODULE_PATH between $PREV_TAG and $CURRENT_TAG"
67-
67+
6868
COMMITS=$(git log --oneline --no-merges "$PREV_TAG..$CURRENT_TAG" -- "$MODULE_PATH")
69-
69+
7070
if [ -z "$COMMITS" ]; then
7171
echo "No commits found for this module"
7272
echo "changelog=No changes found for this module." >> $GITHUB_OUTPUT
7373
exit 0
7474
fi
75-
75+
7676
if [[ "$PREV_TAG" == release/* ]]; then
7777
FULL_CHANGELOG=$(gh api repos/:owner/:repo/releases/generate-notes \
7878
--field tag_name="$CURRENT_TAG" \
@@ -82,11 +82,11 @@ jobs:
8282
echo "New module detected, skipping GitHub API"
8383
FULL_CHANGELOG=""
8484
fi
85-
85+
8686
MODULE_COMMIT_SHAS=$(git log --format="%H" --no-merges "$PREV_TAG..$CURRENT_TAG" -- "$MODULE_PATH")
87-
87+
8888
FILTERED_CHANGELOG="## What's Changed\n\n"
89-
89+
9090
for sha in $MODULE_COMMIT_SHAS; do
9191
SHORT_SHA=${sha:0:7}
9292
@@ -100,11 +100,11 @@ jobs:
100100
FILTERED_CHANGELOG="${FILTERED_CHANGELOG}* $COMMIT_MSG by @$AUTHOR\n"
101101
fi
102102
done
103-
103+
104104
echo "changelog<<EOF" >> $GITHUB_OUTPUT
105105
echo -e "$FILTERED_CHANGELOG" >> $GITHUB_OUTPUT
106106
echo "EOF" >> $GITHUB_OUTPUT
107-
107+
108108
- name: Create Release
109109
env:
110110
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
@@ -114,4 +114,4 @@ jobs:
114114
run: |
115115
gh release create "$TAG_NAME" \
116116
--title "$RELEASE_TITLE" \
117-
--notes "$CHANGELOG"
117+
--notes "$CHANGELOG"

.github/workflows/version-bump.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ jobs:
9595
9696
- name: Comment on PR - Failure
9797
if: failure() && steps.version-check.outputs.versions_up_to_date == 'false'
98-
uses: actions/github-script@v7
98+
uses: actions/github-script@v8
9999
with:
100100
github-token: ${{ secrets.GITHUB_TOKEN }}
101101
script: |

.golangci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -163,8 +163,8 @@ linters:
163163
staticcheck:
164164
checks:
165165
- all
166-
- SA4006 # Detects redundant assignments
167-
- SA4009 # Detects redundant variable declarations
166+
- SA4006 # Detects redundant assignments
167+
- SA4009 # Detects redundant variable declarations
168168
- SA1019
169169
exclusions:
170170
generated: lax

.icons/akamai.svg

Lines changed: 4 additions & 0 deletions
Loading

0 commit comments

Comments
 (0)