From 4074e8e6ec3985f3d9a7b53f3497d38a0ba6743e Mon Sep 17 00:00:00 2001 From: Seth Vargo Date: Tue, 12 Aug 2025 23:24:39 -0400 Subject: [PATCH] chore(ci): fix yamllint issues (#6112) --- .gcp/release-docker.yml | 14 +++---- .gemini/config.yaml | 2 +- .github/ISSUE_TEMPLATE/bug_report.yml | 48 +++++++++++----------- .github/ISSUE_TEMPLATE/feature_request.yml | 34 +++++++-------- .github/workflows/docs-page-action.yml | 2 +- 5 files changed, 52 insertions(+), 48 deletions(-) diff --git a/.gcp/release-docker.yml b/.gcp/release-docker.yml index 59220b8d..f413da5b 100644 --- a/.gcp/release-docker.yml +++ b/.gcp/release-docker.yml @@ -22,8 +22,8 @@ steps: id: 'Determine Docker Image Tag' entrypoint: 'bash' args: - - -c - - | + - '-c' + - |- SHELL_TAG_NAME="$TAG_NAME" FINAL_TAG="$SHORT_SHA" # Default to SHA if [[ "$$SHELL_TAG_NAME" == *"-nightly"* ]]; then @@ -44,8 +44,8 @@ steps: id: 'Build sandbox Docker image' entrypoint: 'bash' args: - - -c - - | + - '-c' + - |- export GEMINI_SANDBOX_IMAGE_TAG=$$(cat /workspace/image_tag.txt) echo "Using Docker image tag for build: $$GEMINI_SANDBOX_IMAGE_TAG" npm run build:sandbox -- --output-file /workspace/final_image_uri.txt @@ -57,8 +57,8 @@ steps: id: 'Publish sandbox Docker image' entrypoint: 'bash' args: - - -c - - | + - '-c' + - |- set -e FINAL_IMAGE_URI=$$(cat /workspace/final_image_uri.txt) @@ -68,7 +68,7 @@ steps: - 'GEMINI_SANDBOX=$_CONTAINER_TOOL' options: - defaultLogsBucketBehavior: REGIONAL_USER_OWNED_BUCKET + defaultLogsBucketBehavior: 'REGIONAL_USER_OWNED_BUCKET' dynamicSubstitutions: true substitutions: diff --git a/.gemini/config.yaml b/.gemini/config.yaml index 781e7690..cbfb0c80 100644 --- a/.gemini/config.yaml +++ b/.gemini/config.yaml @@ -3,7 +3,7 @@ have_fun: false code_review: disable: false - comment_severity_threshold: HIGH + comment_severity_threshold: 'HIGH' max_review_comments: -1 pull_request_opened: help: false diff --git a/.github/ISSUE_TEMPLATE/bug_report.yml b/.github/ISSUE_TEMPLATE/bug_report.yml index cb6a456a..1780f945 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.yml +++ b/.github/ISSUE_TEMPLATE/bug_report.yml @@ -1,8 +1,10 @@ -name: Bug Report -description: Report a bug to help us improve Gemini CLI -labels: ['kind/bug', 'status/need-triage'] +name: 'Bug Report' +description: 'Report a bug to help us improve Gemini CLI' +labels: + - 'kind/bug' + - 'status/need-triage' body: - - type: markdown + - type: 'markdown' attributes: value: |- > [!IMPORTANT] @@ -10,26 +12,26 @@ body: > > Please search **[existing issues](https://github.com/google-gemini/gemini-cli/issues)** to see if an issue already exists for the bug you encountered. - - type: textarea - id: problem + - type: 'textarea' + id: 'problem' attributes: - label: What happened? - description: A clear and concise description of what the bug is. + label: 'What happened?' + description: 'A clear and concise description of what the bug is.' validations: required: true - - type: textarea - id: expected + - type: 'textarea' + id: 'expected' attributes: - label: What did you expect to happen? + label: 'What did you expect to happen?' validations: required: true - - type: textarea - id: info + - type: 'textarea' + id: 'info' attributes: - label: Client information - description: Please paste the full text from the `/about` command run from Gemini CLI. Also include which platform (macOS, Windows, Linux). + label: 'Client information' + description: 'Please paste the full text from the `/about` command run from Gemini CLI. Also include which platform (macOS, Windows, Linux).' value: |-
@@ -42,14 +44,14 @@ body: validations: required: true - - type: textarea - id: login-info + - type: 'textarea' + id: 'login-info' attributes: - label: Login information - description: Describe how you are logging in (e.g., Google Account, API key). + label: 'Login information' + description: 'Describe how you are logging in (e.g., Google Account, API key).' - - type: textarea - id: additional-context + - type: 'textarea' + id: 'additional-context' attributes: - label: Anything else we need to know? - description: Add any other context about the problem here. + label: 'Anything else we need to know?' + description: 'Add any other context about the problem here.' diff --git a/.github/ISSUE_TEMPLATE/feature_request.yml b/.github/ISSUE_TEMPLATE/feature_request.yml index bf4d4871..1f7e48d4 100644 --- a/.github/ISSUE_TEMPLATE/feature_request.yml +++ b/.github/ISSUE_TEMPLATE/feature_request.yml @@ -1,8 +1,10 @@ -name: Feature Request -description: Suggest an idea for this project -labels: ['kind/enhancement', 'status/need-triage'] +name: 'Feature Request' +description: 'Suggest an idea for this project' +labels: + - 'kind/enhancement' + - 'status/need-triage' body: - - type: markdown + - type: 'markdown' attributes: value: |- > [!IMPORTANT] @@ -10,24 +12,24 @@ body: > > Please search **[existing issues](https://github.com/google-gemini/gemini-cli/issues)** to see if a similar feature has already been requested. - - type: textarea - id: feature + - type: 'textarea' + id: 'feature' attributes: - label: What would you like to be added? - description: A clear and concise description of the enhancement. + label: 'What would you like to be added?' + description: 'A clear and concise description of the enhancement.' validations: required: true - - type: textarea - id: rationale + - type: 'textarea' + id: 'rationale' attributes: - label: Why is this needed? - description: A clear and concise description of why this enhancement is needed. + label: 'Why is this needed?' + description: 'A clear and concise description of why this enhancement is needed.' validations: required: true - - type: textarea - id: additional-context + - type: 'textarea' + id: 'additional-context' attributes: - label: Additional context - description: Add any other context or screenshots about the feature request here. + label: 'Additional context' + description: 'Add any other context or screenshots about the feature request here.' diff --git a/.github/workflows/docs-page-action.yml b/.github/workflows/docs-page-action.yml index 59588109..2d485278 100644 --- a/.github/workflows/docs-page-action.yml +++ b/.github/workflows/docs-page-action.yml @@ -47,4 +47,4 @@ jobs: steps: - name: 'Deploy to GitHub Pages' id: 'deployment' - uses: actions/deploy-pages@d6db90164ac5ed86f2b6aed7e0febac5b3c0c03e # ratchet:actions/deploy-pages@v4 + uses: 'actions/deploy-pages@d6db90164ac5ed86f2b6aed7e0febac5b3c0c03e' # ratchet:actions/deploy-pages@v4