Skip to content

chore(deps-dev): bump eslint from 8.57.1 to 9.15.0 #608

chore(deps-dev): bump eslint from 8.57.1 to 9.15.0

chore(deps-dev): bump eslint from 8.57.1 to 9.15.0 #608

Workflow file for this run

# Copyright 2021 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.
## Verifies that all PRs use commit-messages (PR titles) in accordance
## with conventional commit formatting.
name: Commit Lint
on: [pull_request]
jobs:
enforce-conventional-commit-message:
runs-on: ubuntu-latest
steps:
- name: Setup Node
uses: actions/setup-node@v3
with:
node-version: 20
- name: Run commitlint
run: |
npm install -g commitlint @commitlint/config-conventional
echo "${PR_TITLE}" | commitlint -x @commitlint/config-conventional
env:
PR_TITLE: ${{ github.event.pull_request.title }}