Skip to content

build(deps-dev): bump lint-staged from 13.2.3 to 15.0.2 #537

build(deps-dev): bump lint-staged from 13.2.3 to 15.0.2

build(deps-dev): bump lint-staged from 13.2.3 to 15.0.2 #537

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/[email protected]
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 }}