Skip to content

Commit aebdfb7

Browse files
test: version NOT bumped - should fail CI
1 parent cc95131 commit aebdfb7

2 files changed

Lines changed: 26 additions & 25 deletions

File tree

‎.github/workflows/version-bump.yaml‎

Lines changed: 18 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -66,22 +66,24 @@ jobs:
6666
script: |
6767
const bumpType = `${{ steps.bump-type.outputs.type }}`;
6868
69-
const comment = `## ❌ Version Bump Required
70-
71-
One or more modules in this PR need their versions updated.
72-
73-
**To fix this:**
74-
1. Run the version bump script locally:
75-
\`\`\`bash
76-
./.github/scripts/version-bump.sh ${bumpType}
77-
\`\`\`
78-
2. Commit the changes:
79-
\`\`\`bash
80-
git add . && git commit -m "chore: bump module versions (${bumpType})"
81-
\`\`\`
82-
3. Push your changes
83-
84-
The CI will automatically re-run once you push the updated versions.`;
69+
const comment = [
70+
'## Version Bump Required',
71+
'',
72+
'One or more modules in this PR need their versions updated.',
73+
'',
74+
'**To fix this:**',
75+
'1. Run the version bump script locally:',
76+
' ```bash',
77+
` ./.github/scripts/version-bump.sh ${bumpType}`,
78+
' ```',
79+
'2. Commit the changes:',
80+
' ```bash',
81+
` git add . && git commit -m "chore: bump module versions (${bumpType})"`,
82+
' ```',
83+
'3. Push your changes',
84+
'',
85+
'The CI will automatically re-run once you push the updated versions.'
86+
].join('\n');
8587
8688
github.rest.issues.createComment({
8789
issue_number: context.issue.number,

‎registry/coder/modules/code-server/README.md‎

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ Automatically install [code-server](https://github.com/coder/code-server) in a w
1414
module "code-server" {
1515
count = data.coder_workspace.me.start_count
1616
source = "registry.coder.com/coder/code-server/coder"
17-
version = "1.4.2"
17+
version = "1.4.1"
1818
agent_id = coder_agent.example.id
1919
}
2020
```
@@ -29,7 +29,7 @@ module "code-server" {
2929
module "code-server" {
3030
count = data.coder_workspace.me.start_count
3131
source = "registry.coder.com/coder/code-server/coder"
32-
version = "1.4.2"
32+
version = "1.4.1"
3333
agent_id = coder_agent.example.id
3434
install_version = "1.4.1"
3535
}
@@ -43,7 +43,7 @@ Install the Dracula theme from [OpenVSX](https://open-vsx.org/):
4343
module "code-server" {
4444
count = data.coder_workspace.me.start_count
4545
source = "registry.coder.com/coder/code-server/coder"
46-
version = "1.4.2"
46+
version = "1.4.1"
4747
agent_id = coder_agent.example.id
4848
extensions = [
4949
"dracula-theme.theme-dracula"
@@ -61,13 +61,12 @@ Configure VS Code's [settings.json](https://code.visualstudio.com/docs/getstarte
6161
module "code-server" {
6262
count = data.coder_workspace.me.start_count
6363
source = "registry.coder.com/coder/code-server/coder"
64-
version = "1.4.2"
64+
version = "1.4.1"
6565
agent_id = coder_agent.example.id
6666
extensions = ["dracula-theme.theme-dracula"]
6767
settings = {
6868
"workbench.colorTheme" = "Dracula"
6969
}
70-
7170
}
7271
```
7372

@@ -79,7 +78,7 @@ Just run code-server in the background, don't fetch it from GitHub:
7978
module "code-server" {
8079
count = data.coder_workspace.me.start_count
8180
source = "registry.coder.com/coder/code-server/coder"
82-
version = "1.4.2"
81+
version = "1.4.1"
8382
agent_id = coder_agent.example.id
8483
extensions = ["dracula-theme.theme-dracula", "ms-azuretools.vscode-docker"]
8584
}
@@ -93,7 +92,7 @@ You can pass additional command-line arguments to code-server using the `additio
9392
module "code-server" {
9493
count = data.coder_workspace.me.start_count
9594
source = "registry.coder.com/coder/code-server/coder"
96-
version = "1.4.2"
95+
version = "1.4.1"
9796
agent_id = coder_agent.example.id
9897
additional_args = "--disable-workspace-trust"
9998
}
@@ -109,7 +108,7 @@ Run an existing copy of code-server if found, otherwise download from GitHub:
109108
module "code-server" {
110109
count = data.coder_workspace.me.start_count
111110
source = "registry.coder.com/coder/code-server/coder"
112-
version = "1.4.2"
111+
version = "1.4.1"
113112
agent_id = coder_agent.example.id
114113
use_cached = true
115114
extensions = ["dracula-theme.theme-dracula", "ms-azuretools.vscode-docker"]
@@ -122,7 +121,7 @@ Just run code-server in the background, don't fetch it from GitHub:
122121
module "code-server" {
123122
count = data.coder_workspace.me.start_count
124123
source = "registry.coder.com/coder/code-server/coder"
125-
version = "1.4.2"
124+
version = "1.4.1"
126125
agent_id = coder_agent.example.id
127126
offline = true
128127
}

0 commit comments

Comments
 (0)