Skip to content

build(deps-dev): bump @commitlint/cli from 17.6.7 to 17.7.1 #487

build(deps-dev): bump @commitlint/cli from 17.6.7 to 17.7.1

build(deps-dev): bump @commitlint/cli from 17.6.7 to 17.7.1 #487

Workflow file for this run

name: PR / Metadata
on:
pull_request:
branches: [master]
types: [opened, synchronize, reopened, edited]
permissions:
pull-requests: write
contents: write
jobs:
validate-metadata:
name: Validate metadata
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 14
cache: yarn
- run: yarn install --frozen-lockfile
- name: Run yarn commitlint --from=pull_request.title
run: echo "${{ github.event.pull_request.title }}" | yarn commitlint
auto-merge:
name: Auto-merge
if: ${{ github.actor == 'dependabot[bot]' }}
runs-on: ubuntu-latest
steps:
- uses: dependabot/fetch-metadata@v1.6.0
id: dependabot-metadata
with:
github-token: "${{ secrets.GITHUB_TOKEN }}"
- run: gh pr merge --auto --squash ${{ github.event.pull_request.html_url }}
if: ${{ steps.dependabot-metadata.outputs.update-type != 'version-update:semver-major' }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}