Skip to content

Commit

Permalink
feat: add deppendabot_pull_request_check workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
EldarMuhamethanov committed Aug 14, 2024
1 parent ae074c5 commit 24aca31
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/dependabot_pull_request_check.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
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 }}

0 comments on commit 24aca31

Please sign in to comment.