Skip to content

Commit

Permalink
Merge pull request #164 from core-ds/chore/add-deps-review
Browse files Browse the repository at this point in the history
chore(*): add bot
  • Loading branch information
Echzio authored Nov 20, 2023
2 parents 3ad7256 + c1f8dab commit e9b5e19
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 8 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/dependency-review.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,13 @@ jobs:
uses: actions/checkout@v4
- name: Use Node.js 18.x
uses: actions/setup-node@v1
with:
node-version: '18'
- name: Npm Install
run: |
npm install
working-directory: ./packages/arui-scripts
npm install -g npm@6
cd ./packages/arui-scripts/
npm install --force
- name: Run Audit
id: audit
uses: oke-py/npm-audit-action@v2
Expand All @@ -29,7 +32,4 @@ jobs:
github_token: ${{ secrets.GITHUB_TOKEN }}
working_directory: ./packages/arui-scripts
issue_assignees: oke-py
issue_labels: vulnerability
- name: Auto approve
if: steps.audit.outcome == 'success'
uses: hmarr/auto-approve-action@v3
issue_labels: vulnerability
2 changes: 1 addition & 1 deletion packages/arui-scripts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@
"@types/webpack-manifest-plugin": "3.0.5",
"@types/webpack-node-externals": "^3.0.0",
"eslint": "^8.20.0",
"eslint-config-custom": "workspace:*",
"eslint-config-custom": "file:../eslint-config-custom",
"prettier": "^2.7.1",
"semantic-release": "^21.0.7",
"stylelint": "^14.9.1",
Expand Down
9 changes: 8 additions & 1 deletion yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -6817,7 +6817,7 @@ __metadata:
css-loader: 6.8.1
css-minimizer-webpack-plugin: 3.4.1
eslint: ^8.20.0
eslint-config-custom: "workspace:*"
eslint-config-custom: "file:../eslint-config-custom"
expose-loader: 3.1.0
filesize: ^6.4.0
fork-ts-checker-webpack-plugin: 6.5.3
Expand Down Expand Up @@ -10093,6 +10093,13 @@ __metadata:
languageName: node
linkType: hard

"eslint-config-custom@file:../eslint-config-custom::locator=arui-scripts%40workspace%3Apackages%2Farui-scripts":
version: 0.0.0
resolution: "eslint-config-custom@file:../eslint-config-custom#../eslint-config-custom::hash=566b4e&locator=arui-scripts%40workspace%3Apackages%2Farui-scripts"
checksum: 424ecde95a6583b13ebdc939f5de19e8ff282659e775a691f5dc5a3cb0dd6c901c6c6c3db1bf5e435fb1707b419a01540320114a3a0ea953b377eb2de22467e7
languageName: node
linkType: hard

"eslint-config-custom@workspace:*, eslint-config-custom@workspace:packages/eslint-config-custom":
version: 0.0.0-use.local
resolution: "eslint-config-custom@workspace:packages/eslint-config-custom"
Expand Down

0 comments on commit e9b5e19

Please sign in to comment.