File tree Expand file tree Collapse file tree 2 files changed +44
-1
lines changed
Expand file tree Collapse file tree 2 files changed +44
-1
lines changed Original file line number Diff line number Diff line change 1+ name : snyk
2+ on :
3+ push :
4+ branches :
5+ - snyk-*
6+ pull_request :
7+ merge_group :
8+
9+ jobs :
10+ build :
11+ name : ' regenerate lockfile'
12+ runs-on : ubuntu-latest
13+ steps :
14+ - name : checkout
15+ uses : actions/checkout@v4
16+ with :
17+ token : ${{ secrets.GITHUB_TOKEN }}
18+ fetch-depth : 0
19+
20+ 21+ - uses : ./.github/perses-ci/actions/setup_environment
22+ with :
23+ enable_npm : true
24+ - name : install dependencies
25+ run : npm install
26+
27+ - name : check for lockfile changes
28+ id : lockfile-changes
29+ run : |
30+ if git diff --quiet package-lock.json; then
31+ echo "has_changes=false" >> $GITHUB_OUTPUT
32+ else
33+ echo "has_changes=true" >> $GITHUB_OUTPUT
34+ fi
35+
36+ - name : commit lockfile changes
37+ if : steps.lockfile-changes.outputs.has_changes == 'true'
38+ run : |
39+ git config --local user.email "41898282+github-actions[bot]@users.noreply.github.com"
40+ git config --local user.name "github-actions[bot]"
41+ git add package-lock.json
42+ git commit -S -m "[IGNORE] update package-lock.json"
43+ git push
Original file line number Diff line number Diff line change 2626 "dependencies" : {
2727 "@codemirror/autocomplete" : " ^6.18.4" ,
2828 "@lezer/highlight" : " ^1.2.1x" ,
29- "@grafana/lezer-traceql" : " ^0.0.20 "
29+ "@grafana/lezer-traceql" : " ^0.0.22 "
3030 },
3131 "peerDependencies" : {
3232 "@emotion/react" : " ^11.7.1" ,
You can’t perform that action at this time.
0 commit comments