This repository has been archived by the owner on Nov 16, 2023. It is now read-only.
build(deps-dev): bump @types/react from 18.2.21 to 18.2.23 #1140
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: PR / Metadata | |
on: | |
pull_request: | |
branches: [main] | |
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 }} |