ci(pull-request): Fix workflows attempt #2

This commit is contained in:
Eric Fennis
2024-07-01 17:20:58 +02:00
parent 8125a21a7e
commit bca0eeaf09
+2 -1
View File
@@ -46,13 +46,14 @@ jobs:
files: icons/*
- uses: actions/setup-node@v4
- name: Install simple-git (safer and faster than installing all deps)
run: npm install simple-git --global
run: npm install simple-git --global && npm root -g
- name: Generate annotations
run: node ./scripts/updateContributors.mjs
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
FETCH_DEPTH: ${{ github.event.pull_request.commits }}
CHANGED_FILES: ${{ steps.changed-files.outputs.all_changed_files }}
NODE_PATH: /usr/lib/node_modules
- name: Generate annotations
env:
ANNOTATION_SEVERITY: notice