Skip to content

feat: add deppendabot_pull_request_check workflow #1

feat: add deppendabot_pull_request_check workflow

feat: add deppendabot_pull_request_check workflow #1

name: Dependabot PR Check
on:
pull_request:
types: [opened, synchronize, reopened]
jobs:
check-dependabot-pr:
runs-on: ubuntu-latest
if: github.actor == 'dependabot[bot]'
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version-file: '.nvmrc'
cache: 'yarn'
- name: Install dependencies
run: YARN_ENABLE_SCRIPTS=false yarn install --immutable --check-cache --check-resolutions
- name: Report lint results
if: ${{ !cancelled() }}
uses: VKCOM/gh-actions/VKUI/add-dependabot-pr-milestone@main
with:
token: ${{ secrets.DEVTOOLS_GITHUB_TOKEN }}