Skip to content

chore(deps-dev): bump @types/jest from 29.5.13 to 29.5.14 #190

chore(deps-dev): bump @types/jest from 29.5.13 to 29.5.14

chore(deps-dev): bump @types/jest from 29.5.13 to 29.5.14 #190

Workflow file for this run

name: PR Check
on: pull_request
permissions:
issues: write
contents: write
pull-requests: write
repository-projects: write
jobs:
check-pr:
name: Check PR
runs-on: ubuntu-latest
steps:
- name: 👇 Checkout
uses: actions/checkout@v3
- name: 🤹 Instal Deps
run: yarn install
- name: 🧪 Test
run: yarn test
- name: 👇 Fetch Metadata
id: metadata
uses: dependabot/fetch-metadata@v1.3.5
with:
github-token: "${{ secrets.GITHUB_TOKEN }}"
- name: ✍🏼 Enable Auto-Merge
if: ${{ contains(fromJson('["version-update:semver-patch", "version-update:semver-minor"]'), steps.metadata.outputs.update-type) }}
run: gh pr merge --auto --merge "$PR_URL"
env:
PR_URL: ${{ github.event.pull_request.html_url }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: 👍🏼 Approve PR
if: ${{ github.actor == 'dependabot[bot]' }}
run: gh pr review --approve "$PR_URL"
env:
PR_URL: ${{ github.event.pull_request.html_url }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}