Skip to content

Commit

Permalink
fix(mt-6197): upgrade all dependencies + address vulnerability CVE-20…
Browse files Browse the repository at this point in the history
  • Loading branch information
chintan-liveintent authored Nov 14, 2024
1 parent 6891936 commit 58e42c8
Show file tree
Hide file tree
Showing 3 changed files with 2,336 additions and 1,262 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/commitlint-commits.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: lint-commit-message
on: push

on:
push:
jobs:
lint:
runs-on: ubuntu-latest
Expand Down
22 changes: 16 additions & 6 deletions .github/workflows/commitlint-pr-title.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: lint-pull-request-title
name: lint-pull-request

on:
pull_request:
Expand All @@ -8,8 +8,18 @@ jobs:
lint:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@master
- name: Install dependencies
run: npm install @commitlint/config-conventional
- uses: JulienKode/[email protected]
- name: Checkout
uses: actions/checkout@master

- name: Install Dependencies
# yamllint disable rule:line-length
run: |
npm install @commitlint/config-conventional
echo "module.exports = {extends: ['@commitlint/config-conventional'], rules: { 'subject-case': [0,'always',['sentence-case']],'header-max-length': [2, 'always', 120], 'body-max-line-length': [0, 'always', 120] }};" > commitlint.config.js
# yamllint enable rule:line-length

- name: Lint the PR Title
run: |
echo "${PR_TITLE}" | npx --yes commitlint
env:
PR_TITLE: '${{ github.event.pull_request.title }}'
Loading

0 comments on commit 58e42c8

Please sign in to comment.