Skip to content

Update pyright requirement from >=1.1.391 to >=1.1.410 in /agent/python-agent #44

Update pyright requirement from >=1.1.391 to >=1.1.410 in /agent/python-agent

Update pyright requirement from >=1.1.391 to >=1.1.410 in /agent/python-agent #44

# 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: "Semantic Pull Request"
on:
pull_request:
types:
- opened
- edited
- synchronize
permissions:
pull-requests: read
statuses: write
jobs:
main:
name: Validate PR title
runs-on: ubuntu-latest
permissions:
pull-requests: read
statuses: write
steps:
- uses: amannn/action-semantic-pull-request@48f256284bd46cdaab1048c3721360e808335d50 # v6.1.1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
types: |
feat
fix
chore
docs
style
refactor
perf
test
build
ci
# This ensures the bot can post a detailed comment if the validation fails
# mimicking the helpful feedback seen in other googlemaps repos
headerPattern: '^(\w*)(?:\(([\w$.\-*/ ]*)\))?!?: (.*)$'
headerPatternCorrespondence: type, scope, subject
# If the PR only contains a single commit, the action will validate that
# it matches the configured pattern.
validateSingleCommit: true