feat: add deppendabot_pull_request_check workflow #1
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: 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 }} |