Skip to content

Commit ec1c811

Browse files
style: fix some sonar warnings (#6370)
1 parent 83592cf commit ec1c811

File tree

3 files changed

+7
-6
lines changed

3 files changed

+7
-6
lines changed

.github/workflows/auto-update-db.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,6 @@ jobs:
5757
uses: stefanbuck/github-issue-parser@v3
5858
id: issue-parser
5959
with:
60-
issue-body: ${{ github.event.issue.body }}
6160
template-path: .github/ISSUE_TEMPLATE/theme.yml
6261

6362
- name: Crease JSON

.github/workflows/python-tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ jobs:
3333
python -m pip install -r requirements-dev.txt
3434
3535
- name: Install npm dependencies
36-
run: npm install
36+
run: npm install --ignore-scripts
3737

3838
- name: Test with pytest
3939
env:

.github/workflows/update-pages.yml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
---
22
name: Update
3-
permissions:
4-
contents: read
3+
permissions: {}
54

65
on:
76
pull_request:
@@ -24,8 +23,9 @@ concurrency:
2423

2524
jobs:
2625
update:
26+
permissions:
27+
contents: read
2728
runs-on: windows-latest # use windows because orca needs a display
28-
2929
steps:
3030
- name: Checkout
3131
uses: actions/checkout@v6
@@ -62,7 +62,7 @@ jobs:
6262
python -m pip install -r requirements.txt
6363
6464
- name: Install npm dependencies
65-
run: npm install
65+
run: npm install --ignore-scripts
6666

6767
- name: Update
6868
env:
@@ -114,6 +114,8 @@ jobs:
114114

115115
call-jekyll-build:
116116
needs: update
117+
permissions:
118+
contents: read
117119
uses: LizardByte/LizardByte.github.io/.github/workflows/jekyll-build.yml@master
118120
secrets:
119121
GH_BOT_EMAIL: ${{ secrets.GH_BOT_EMAIL }}

0 commit comments

Comments
 (0)