Skip to content

Commit 24de31b

Browse files
authored
Merge branch 'main' into settings-env
2 parents a19caad + be2d6c4 commit 24de31b

12 files changed

+61
-14
lines changed

.github/labels.yaml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,4 +79,8 @@
7979

8080
- name: 'status: waiting for response'
8181
color: 8befd7
82-
description: 'Status: reviewer is awaiting feedback or responses from the author before proceeding.'
82+
description: 'Status: reviewer is awaiting feedback or responses from the author before proceeding.'
83+
84+
- name: 'release-please:force-run'
85+
color: bdca82
86+
description: Manually trigger the release please workflow on a PR.

.github/workflows/assign-prs.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,14 @@
1515
name: PR assignment
1616

1717
on:
18-
pull_request:
19-
types: [opened, edited, synchronize, reopened]
18+
pull_request_target:
19+
types: [opened, edited, reopened]
2020

2121
jobs:
2222
auto-assign:
2323
runs-on: ubuntu-latest
2424
permissions:
25+
issues: write
2526
pull-requests: write
2627
steps:
2728
- name: "Auto-assign PR"

.github/workflows/markdown-checks.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5
2828

2929
- name: Link Checker
30-
uses: lycheeverse/lychee-action@885c65f3dc543b57c898c8099f4e08c8afd178a2 # v2.6.1
30+
uses: lycheeverse/lychee-action@a8c4c7cb88f0c7386610c35eb25108e448569cb0 # v2.7.0
3131
with:
3232
# There is no security token. So, it would fail on any links which aren't public.
3333
args: "--verbose --no-progress **/*.md"

.github/workflows/mirror-changelog.yml

Lines changed: 19 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,9 +82,26 @@ jobs:
8282
// Match and extract changelog item
8383
const itemMatch = trimmedLine.match(/^[*-]\s(.*)$/);
8484
if (itemMatch) {
85-
const originalContent = itemMatch[1];
85+
let originalContent = itemMatch[1];
86+
87+
// This is a two-step process to prevent `release-please` from
88+
// creating mangled, doubly-nested links for PRs.
89+
90+
// STEP 1: CLEAN THE INPUT.
91+
// The source changelog contains a zero-width space as an HTML entity (`​`).
92+
// This breaks the regex in the next step, so we must remove it first.
93+
// E.g., "[#​1770](...)" becomes "[#1770](...)"
94+
originalContent = originalContent.replace(/​/g, '');
95+
96+
// STEP 2: PROTECT THE OUTPUT.
97+
// `release-please` aggressively tries to auto-link any text that looks like `#1234`.
98+
// To prevent this, we insert an invisible Unicode zero-width space (`\u200B`)
99+
// between the '#' and the number in the link text. This breaks the parser's
100+
// pattern matching without changing the visual appearance of the link.
101+
// E.g., "[#1770](...)" becomes "[genai-toolbox#​1770](...)"
102+
originalContent = originalContent.replace(/\[#(\d+)\](\([^)]+\))/g, '[genai-toolbox#\u200B$1]$2');
103+
86104
const lineAsLowerCase = originalContent.toLowerCase();
87-
88105
const hasPrefix = prefixesToFilter.some(prefix => lineAsLowerCase.includes(prefix));
89106
90107
// Check if the line includes ANY of the required keywords

.github/workflows/package-and-upload-assets.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ jobs:
103103
echo "ARCHIVE_PATH=${ARCHIVE_NAME}" >> $GITHUB_OUTPUT
104104
105105
- name: Upload archive as workflow artifact
106-
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4
106+
uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5
107107
with:
108108
name: ${{ steps.vars.outputs.archive_name }}
109109
path: ${{ steps.create_archive.outputs.ARCHIVE_PATH }}
@@ -120,7 +120,7 @@ jobs:
120120
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5
121121

122122
- name: Download all archives from workflow artifacts
123-
uses: actions/download-artifact@634f93cb2916e3fdff6788551b99b062d0335ce0 # v5
123+
uses: actions/download-artifact@018cc2cf5baa6db3ef3c5f8a56943fffe632ef53 # v6
124124
with:
125125
path: release-archives
126126

.github/workflows/presubmit-tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
- name: Install toolbox binary
3131
run: |
3232
VERSION=$(cat toolbox_version.txt)
33-
curl -L -o toolbox https://storage.googleapis.com/genai-toolbox/v$VERSION/linux/amd64/toolbox
33+
curl -L -o toolbox "https://storage.googleapis.com/genai-toolbox/v${VERSION}/linux/amd64/toolbox"
3434
chmod +x toolbox
3535
3636
- name: Install Extension

.licenserc.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ header:
1616
license:
1717
spdx-id: "Apache-2.0"
1818
copyright-owner: "Google LLC"
19+
copyright-year: "2025"
1920
paths:
2021
- "**/*.yaml"
2122
- "**/*.yml"

.release-please-manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
2-
".": "0.1.2"
2+
".": "0.1.4"
33
}

CHANGELOG.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,19 @@
11
# Changelog
22

3+
## [0.1.4](https://github.com/gemini-cli-extensions/sql-server/compare/0.1.3...0.1.4) (2026-01-13)
4+
5+
6+
### Features
7+
8+
* **deps:** update dependency googleapis/genai-toolbox to v0.25.0 ([#66](https://github.com/gemini-cli-extensions/sql-server/issues/66)) ([7ccba65](https://github.com/gemini-cli-extensions/sql-server/commit/7ccba656ad090805c02200b97b74d449adc963ef))
9+
10+
## [0.1.3](https://github.com/gemini-cli-extensions/sql-server/compare/0.1.2...0.1.3) (2025-12-09)
11+
12+
13+
### Features
14+
15+
* **tool/mssql:** Set default host and port for MSSQL source ([genai-toolbox#​1943](https://redirect.github.com/googleapis/genai-toolbox/issues/1943)) ([7a9cc63](https://redirect.github.com/googleapis/genai-toolbox/commit/7a9cc633768d9ae9a7ff8230002da69d6a36ca86)) ([88756be](https://github.com/gemini-cli-extensions/sql-server/commit/88756bee8851330eb3e3701f10e95f4c7d44476e))
16+
317
## [0.1.2](https://github.com/gemini-cli-extensions/sql-server/compare/0.1.1...0.1.2) (2025-10-17)
418

519

README.md

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,9 +43,19 @@ gemini extensions install https://github.com/gemini-cli-extensions/sql-server
4343

4444
Set the following environment variables before starting the Gemini CLI. These variables can be loaded from a `.env` file.
4545

46+
#### PowerShell
47+
```powershell
48+
$env:MSSQL_HOST = '<your-sql-server-host>' # Optional: defaults to localhost
49+
$env:MSSQL_PORT = '<your-sql-server-port>' # Optional: defaults to 1433
50+
$env:MSSQL_DATABASE = '<your-database-name>'
51+
$env:MSSQL_USER = '<your-database-user>'
52+
$env:MSSQL_PASSWORD = '<your-database-password>'
53+
```
54+
55+
#### Bash
4656
```bash
47-
export MSSQL_HOST="<your-sql-server-host>"
48-
export MSSQL_PORT="<your-sql-server-port>"
57+
export MSSQL_HOST="<your-sql-server-host>" # Optional: defaults to localhost
58+
export MSSQL_PORT="<your-sql-server-port>" # Optional: defaults to 1433
4959
export MSSQL_DATABASE="<your-database-name>"
5060
export MSSQL_USER="<your-database-user>"
5161
export MSSQL_PASSWORD="<your-database-password>"

0 commit comments

Comments
 (0)