Skip to content

npm(deps): bump @babel/traverse from 7.21.0 to 7.23.2 #127

npm(deps): bump @babel/traverse from 7.21.0 to 7.23.2

npm(deps): bump @babel/traverse from 7.21.0 to 7.23.2 #127

Workflow file for this run

name: "Auto Assign"
on:
pull_request_target:
types:
- opened
- ready_for_review
env:
APP_ID: ${{ secrets.APP_ID }}
PRIVATE_KEY: ${{ secrets.PRIVATE_KEY }}
CLIENT_ID: ${{ secrets.CLIENT_ID }}
CLIENT_SECRET: ${{ secrets.CLIENT_SECRET }}
INSTALLATION_ID: ${{ secrets.INSTALLATION_ID }}
jobs:
add-reviews:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
show-progress: false
- name: Use Node.js
uses: actions/setup-node@v3
with:
node-version: lts/*
check-latest: true
cache: npm
- name: Generate cache primary key based on nodejs's and npm's version and package-lock.json's hash
id: version
shell: bash
run: echo "hash=node@$(node -v | grep -oP '(?<=^v)\d+')_npm@$(npm -v | grep -oP '^\d+')_package-lock@$(openssl dgst -sha3-512 package-lock.json | grep -oP '[\da-f]{128}')" >> $GITHUB_OUTPUT && cat $GITHUB_OUTPUT
- uses: actions/cache/restore@v3
name: Try to restore node_modules from cache
id: cache
with:
path: node_modules
key: ${{ steps.version.outputs.hash }}
- name: Install dependencies if no cache for node_modules
run: npm run ci
if: success() && steps.cache.outputs.cache-hit != 'true'
- uses: actions/cache/save@v3
if: success() && steps.cache.outputs.cache-hit != 'true'
name: Save node_modules to cache
with:
path: node_modules
key: ${{ steps.version.outputs.hash }}
- name: add assignees and reviewers
run: |
node scripts/autoAssign/index.js