Skip to content

Commit 05dc4c3

Browse files
committed
[IGNORE] regenerate package lock for snyk updates
1 parent 2ec28c2 commit 05dc4c3

File tree

2 files changed

+44
-1
lines changed

2 files changed

+44
-1
lines changed

.github/workflows/snyk.yml

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
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+
- uses: perses/[email protected]
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

tempo/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
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",

0 commit comments

Comments
 (0)