Skip to content

Commit 52bc3eb

Browse files
Merge pull request #2824 from VWS-Python/prettier-config
Make prettier more compatible with yamlfix
2 parents c562f97 + 694ce56 commit 52bc3eb

File tree

6 files changed

+33
-5
lines changed

6 files changed

+33
-5
lines changed

.github/workflows/docker-build.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
---
2-
32
name: Build Docker images
43

54
# This matches the Docker image building done in the release process.
@@ -17,6 +16,8 @@ on:
1716
- cron: 0 1 * * *
1817
workflow_dispatch: {}
1918

19+
permissions: {}
20+
2021
jobs:
2122
build:
2223
name: Build Docker images
@@ -31,6 +32,8 @@ jobs:
3132

3233
steps:
3334
- uses: actions/checkout@v6
35+
with:
36+
persist-credentials: false
3437

3538
- name: Set up QEMU
3639
uses: docker/setup-qemu-action@v3

.github/workflows/lint.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
---
2-
32
name: Lint
43

54
on:
@@ -13,9 +12,10 @@ on:
1312
- cron: 0 1 * * *
1413
workflow_dispatch: {}
1514

15+
permissions: {}
16+
1617
jobs:
1718
build:
18-
1919
strategy:
2020
matrix:
2121
python-version: ['3.13']
@@ -25,6 +25,8 @@ jobs:
2525

2626
steps:
2727
- uses: actions/checkout@v6
28+
with:
29+
persist-credentials: false
2830

2931
- name: Install uv
3032
uses: astral-sh/setup-uv@v7

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
---
2-
32
name: Release
43

54
on: workflow_dispatch
@@ -29,6 +28,7 @@ jobs:
2928
# Also, avoids
3029
# https://github.com/stefanzweifel/git-auto-commit-action/issues/99.
3130
fetch-depth: 0
31+
persist-credentials: false
3232

3333
- name: Install uv
3434
uses: astral-sh/setup-uv@v7

.github/workflows/test.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@ on:
1616
# workflows. We therefore want to run only one workflow at a time.
1717
concurrency: vuforia_credentials
1818

19+
permissions: {}
20+
1921
jobs:
2022
# CI tests with matrix
2123
ci-tests:
@@ -117,6 +119,8 @@ jobs:
117119

118120
steps:
119121
- uses: actions/checkout@v6
122+
with:
123+
persist-credentials: false
120124

121125
- name: Install uv
122126
uses: astral-sh/setup-uv@v7
@@ -186,6 +190,8 @@ jobs:
186190

187191
steps:
188192
- uses: actions/checkout@v6
193+
with:
194+
persist-credentials: false
189195

190196
- name: Install uv
191197
uses: astral-sh/setup-uv@v7
@@ -229,6 +235,8 @@ jobs:
229235

230236
steps:
231237
- uses: actions/checkout@v6
238+
with:
239+
persist-credentials: false
232240

233241
- name: Install uv
234242
uses: astral-sh/setup-uv@v7
@@ -269,6 +277,8 @@ jobs:
269277

270278
steps:
271279
- uses: actions/checkout@v6
280+
with:
281+
persist-credentials: false
272282

273283
- name: Install uv
274284
uses: astral-sh/setup-uv@v7

.prettierrc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,8 @@
33
{
44
"files": ["*.yaml", "*.yml"],
55
"options": {
6-
"singleQuote": true
6+
"singleQuote": true,
7+
"printWidth": 100
78
}
89
}
910
]

zizmor.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
---
2+
rules:
3+
unpinned-uses:
4+
disable: true
5+
cache-poisoning:
6+
disable: true
7+
bot-conditions:
8+
disable: true
9+
dependabot-cooldown:
10+
disable: true
11+
template-injection:
12+
disable: true

0 commit comments

Comments
 (0)