Skip to content

Commit 83e0740

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

File tree

2 files changed

+48
-1
lines changed

2 files changed

+48
-1
lines changed

.github/workflows/snyk.yml

Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
name: snyk
2+
on:
3+
pull_request:
4+
branches:
5+
- main
6+
push:
7+
branches:
8+
- snyk-fix-*
9+
- snyk-upgrade-*
10+
merge_group:
11+
12+
jobs:
13+
build:
14+
name: 'regenerate lockfile'
15+
runs-on: ubuntu-latest
16+
if: startsWith(github.head_ref, 'snyk-') || startsWith(github.ref_name, 'snyk-')
17+
steps:
18+
- name: checkout
19+
uses: actions/checkout@v4
20+
with:
21+
token: ${{ secrets.GITHUB_TOKEN }}
22+
fetch-depth: 0
23+
24+
- uses: perses/[email protected]
25+
- uses: ./.github/perses-ci/actions/setup_environment
26+
with:
27+
enable_npm: true
28+
- name: install dependencies
29+
run: npm install
30+
31+
- name: check for lockfile changes
32+
id: lockfile-changes
33+
run: |
34+
if git diff --quiet package-lock.json; then
35+
echo "has_changes=false" >> $GITHUB_OUTPUT
36+
else
37+
echo "has_changes=true" >> $GITHUB_OUTPUT
38+
fi
39+
40+
- name: commit lockfile changes
41+
if: steps.lockfile-changes.outputs.has_changes == 'true'
42+
run: |
43+
git config --local user.email "41898282+github-actions[bot]@users.noreply.github.com"
44+
git config --local user.name "github-actions[bot]"
45+
git add package-lock.json
46+
git commit -S -m "[IGNORE] update package-lock.json"
47+
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)