From 9e9e5669e839994791e4e2b89e462edfddb3ce27 Mon Sep 17 00:00:00 2001 From: Justin Poehnelt Date: Mon, 2 Mar 2026 17:42:31 -0700 Subject: [PATCH 1/3] fix: use changeset tag instead of publish, defer npm publishing to cargo-dist --- .github/workflows/release-changesets.yml | 6 ++---- package.json | 1 + 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/release-changesets.yml b/.github/workflows/release-changesets.yml index 865da492..02acf21c 100644 --- a/.github/workflows/release-changesets.yml +++ b/.github/workflows/release-changesets.yml @@ -28,7 +28,6 @@ jobs: permissions: contents: write pull-requests: write - id-token: write steps: - uses: actions/checkout@v4 @@ -43,13 +42,12 @@ jobs: - name: Install Dependencies run: pnpm install - - name: Create Release Pull Request or Publish + - name: Create Release Pull Request or Tag id: changesets uses: changesets/action@v1 with: - publish: pnpm changeset publish + publish: pnpm changeset tag commit: 'chore: release versions' title: 'chore: release versions' env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - NPM_TOKEN: ${{ secrets.NPM_TOKEN }} diff --git a/package.json b/package.json index 09bb5f2c..3c0c9051 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,7 @@ { "name": "@googleworkspace/cli", "version": "0.1.0", + "private": true, "description": "Google Workspace CLI — dynamic command surface from Discovery Service", "license": "Apache-2.0", "repository": { From 5afdedd26723b88314d91fb83fe5d4bca4446e87 Mon Sep 17 00:00:00 2001 From: Justin Poehnelt Date: Mon, 2 Mar 2026 17:47:59 -0700 Subject: [PATCH 2/3] fix: quote label names containing colons in labeler.yml --- .github/labeler.yml | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/.github/labeler.yml b/.github/labeler.yml index c6a3ddbe..65ac3c02 100644 --- a/.github/labeler.yml +++ b/.github/labeler.yml @@ -12,29 +12,29 @@ # See the License for the specific language governing permissions and # limitations under the License. -area: schema: +"area: schema": - 'src/schema.rs' -area: auth: +"area: auth": - 'src/auth.rs' -area: execution: +"area: execution": - 'src/executor.rs' - 'src/commands.rs' - 'src/main.rs' -area: discovery: +"area: discovery": - 'src/discovery.rs' -skill: docs: +"skill: docs": - 'src/helpers/docs.rs' -skill: drive: +"skill: drive": - 'src/helpers/drive.rs' -skill: events: +"skill: events": - 'src/helpers/events.rs' -skill: gmail: +"skill: gmail": - 'src/helpers/gmail.rs' -skill: script: +"skill: script": - 'src/helpers/script.rs' -skill: sheets: +"skill: sheets": - 'src/helpers/sheets.rs' -core: docs: +"core: docs": - '**/*.md' -core: ci: +"core: ci": - '.github/**/*' From 0780a70c9dcdc42821c712f64dba6fa97a6d33a3 Mon Sep 17 00:00:00 2001 From: Justin Poehnelt Date: Mon, 2 Mar 2026 17:49:05 -0700 Subject: [PATCH 3/3] chore: delete labeler --- .github/labeler.yml | 40 ----------------------------------- .github/workflows/labeler.yml | 30 -------------------------- 2 files changed, 70 deletions(-) delete mode 100644 .github/labeler.yml delete mode 100644 .github/workflows/labeler.yml diff --git a/.github/labeler.yml b/.github/labeler.yml deleted file mode 100644 index 65ac3c02..00000000 --- a/.github/labeler.yml +++ /dev/null @@ -1,40 +0,0 @@ -# Copyright 2026 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -"area: schema": - - 'src/schema.rs' -"area: auth": - - 'src/auth.rs' -"area: execution": - - 'src/executor.rs' - - 'src/commands.rs' - - 'src/main.rs' -"area: discovery": - - 'src/discovery.rs' -"skill: docs": - - 'src/helpers/docs.rs' -"skill: drive": - - 'src/helpers/drive.rs' -"skill: events": - - 'src/helpers/events.rs' -"skill: gmail": - - 'src/helpers/gmail.rs' -"skill: script": - - 'src/helpers/script.rs' -"skill: sheets": - - 'src/helpers/sheets.rs' -"core: docs": - - '**/*.md' -"core: ci": - - '.github/**/*' diff --git a/.github/workflows/labeler.yml b/.github/workflows/labeler.yml deleted file mode 100644 index a9745d4c..00000000 --- a/.github/workflows/labeler.yml +++ /dev/null @@ -1,30 +0,0 @@ -# Copyright 2026 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -name: "Pull Request Labeler" -on: - pull_request_target: - types: [opened, synchronize, reopened] - -jobs: - labeler: - permissions: - contents: read - pull-requests: write - runs-on: ubuntu-latest - steps: - - uses: actions/labeler@v5 - with: - repo-token: "${{ secrets.GITHUB_TOKEN }}" - sync-labels: true