Skip to content

chore: harden ui eslint rules and enable tsc typechecking #3967

chore: harden ui eslint rules and enable tsc typechecking

chore: harden ui eslint rules and enable tsc typechecking #3967

# 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: 'Dependabot Auto-Merge'
on:
pull_request:
types: [opened, synchronize, reopened]
permissions:
pull-requests: write
contents: write
jobs:
auto-merge:
name: 'Enable Auto-Merge for Dependabot'
runs-on: 'ubuntu-latest'
if: github.event.pull_request.user.login == 'dependabot[bot]'
steps:
- name: 'Verify Dependabot metadata'
uses: dependabot/fetch-metadata@21025c705c08248db411dc16f3619e6b5f9ea21a # v2.5.0
with:
github-token: '${{ secrets.GITHUB_TOKEN }}'
- name: 'Enable auto-merge for Dependabot PR'
run: gh pr merge --auto "$PR_URL"
env:
PR_URL: ${{ github.event.pull_request.html_url }}
GH_TOKEN: ${{ secrets.DEPENDABOT_AUTOMERGE_TOKEN }}