Skip to content

Commit 51ed166

Browse files
authored
chore: unify quotation marks in GitHub Action Workflows (#409)
1 parent 930f55d commit 51ed166

File tree

8 files changed

+40
-40
lines changed

8 files changed

+40
-40
lines changed

.github/workflows/ci.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -26,11 +26,11 @@ jobs:
2626
strategy:
2727
matrix:
2828
python-version:
29-
- '3.8'
30-
- '3.9'
31-
- '3.10'
32-
- '3.11'
33-
- '3.12'
29+
- "3.8"
30+
- "3.9"
31+
- "3.10"
32+
- "3.11"
33+
- "3.12"
3434
consistency:
3535
if: ${{ !cancelled() && ! failure() }}
3636
runs-on: ubuntu-22.04

.github/workflows/devcontainer.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -32,11 +32,11 @@ jobs:
3232
strategy:
3333
matrix:
3434
python-version:
35-
- '3.8'
36-
- '3.9'
37-
- '3.10'
38-
- '3.11'
39-
- '3.12'
35+
- "3.8"
36+
- "3.9"
37+
- "3.10"
38+
- "3.11"
39+
- "3.12"
4040
on:
4141
push:
4242
branches:

.github/workflows/release.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ jobs:
99
- uses: pdm-project/setup-pdm@c050bdcb2405837648035b6678c75609d53a749f # v4
1010
with:
1111
cache: true
12-
python-version: '3.12'
12+
python-version: "3.12"
1313
- id: pages
1414
name: Setup pages
1515
uses: actions/configure-pages@1f0c5cde4bc74cd7e1254d0cb4de8d49e9068c7d # v4.0.0
@@ -97,11 +97,11 @@ jobs:
9797
strategy:
9898
matrix:
9999
python-version:
100-
- '3.8'
101-
- '3.9'
102-
- '3.10'
103-
- '3.11'
104-
- '3.12'
100+
- "3.8"
101+
- "3.9"
102+
- "3.10"
103+
- "3.11"
104+
- "3.12"
105105
package-publish:
106106
needs: release-publish
107107
runs-on: ubuntu-22.04
@@ -110,7 +110,7 @@ jobs:
110110
- uses: pdm-project/setup-pdm@c050bdcb2405837648035b6678c75609d53a749f # v4
111111
with:
112112
cache: true
113-
python-version: '3.12'
113+
python-version: "3.12"
114114
- run: env | sort
115115
- env:
116116
PDM_PUBLISH_PASSWORD: ${{ secrets.PDM_PUBLISH_PASSWORD }}

.github/workflows/renovate.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,13 @@ jobs:
99
RENOVATE_ENABLED: ${{ vars.RENOVATE_ENABLED || true }}
1010
RENOVATE_ENABLED_MANAGERS: '["pep621", "github-actions", "gitlabci", "regex"]'
1111
RENOVATE_GIT_AUTHOR: Renovate GitHub Bot <[email protected]>
12-
RENOVATE_OPTIMIZE_FOR_DISABLED: 'true'
12+
RENOVATE_OPTIMIZE_FOR_DISABLED: "true"
1313
RENOVATE_PLATFORM: github
1414
RENOVATE_REPOSITORIES: '["${{ github.repository }}"]'
1515
RENOVATE_REPOSITORY_CACHE: enabled
1616
RENOVATE_TOKEN: ${{ secrets.RENOVATE_TOKEN }}
1717
image: ghcr.io/renovatebot/renovate:37.246.0-full@sha256:2bbd0a3d5d92be7c56168b369dc4119840a9e341c3c09fdef9d1ac6735042c80
18-
options: '--user root'
18+
options: "--user root"
1919
runs-on: ubuntu-22.04
2020
steps:
2121
- run: env | sort
@@ -37,5 +37,5 @@ jobs:
3737
on:
3838
schedule:
3939
# * is a special character in YAML so you have to quote this string
40-
- cron: '*/15 0-3 * * 1'
40+
- cron: "*/15 0-3 * * 1"
4141
workflow_dispatch: null

template/[% if repo_host_type == 'github.com' %].github[% endif %]/workflows/ci.yml.jinja

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -28,19 +28,19 @@ jobs:
2828
matrix:
2929
python-version:
3030
[%- if version_between("3.8", min_py, max_py) %]
31-
- '3.8'
31+
- "3.8"
3232
[%- endif %]
3333
[%- if version_between("3.9", min_py, max_py) %]
34-
- '3.9'
34+
- "3.9"
3535
[%- endif %]
3636
[%- if version_between("3.10", min_py, max_py) %]
37-
- '3.10'
37+
- "3.10"
3838
[%- endif %]
3939
[%- if version_between("3.11", min_py, max_py) %]
40-
- '3.11'
40+
- "3.11"
4141
[%- endif %]
4242
[%- if version_between("3.12", min_py, max_py) %]
43-
- '3.12'
43+
- "3.12"
4444
[%- endif %]
4545
[%- if project_name == "Serious Scaffold Python" %]
4646
consistency:

template/[% if repo_host_type == 'github.com' %].github[% endif %]/workflows/devcontainer.yml.jinja

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -34,19 +34,19 @@ jobs:
3434
matrix:
3535
python-version:
3636
[%- if version_between("3.8", min_py, max_py) %]
37-
- '3.8'
37+
- "3.8"
3838
[%- endif %]
3939
[%- if version_between("3.9", min_py, max_py) %]
40-
- '3.9'
40+
- "3.9"
4141
[%- endif %]
4242
[%- if version_between("3.10", min_py, max_py) %]
43-
- '3.10'
43+
- "3.10"
4444
[%- endif %]
4545
[%- if version_between("3.11", min_py, max_py) %]
46-
- '3.11'
46+
- "3.11"
4747
[%- endif %]
4848
[%- if version_between("3.12", min_py, max_py) %]
49-
- '3.12'
49+
- "3.12"
5050
[%- endif %]
5151
on:
5252
push:

template/[% if repo_host_type == 'github.com' %].github[% endif %]/workflows/release.yml.jinja

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
- uses: pdm-project/setup-pdm@c050bdcb2405837648035b6678c75609d53a749f # v4
1111
with:
1212
cache: true
13-
python-version: '{{ default_py }}'
13+
python-version: "{{ default_py }}"
1414
- id: pages
1515
name: Setup pages
1616
uses: actions/configure-pages@1f0c5cde4bc74cd7e1254d0cb4de8d49e9068c7d # v4.0.0
@@ -99,19 +99,19 @@ jobs:
9999
matrix:
100100
python-version:
101101
[%- if version_between("3.8", min_py, max_py) %]
102-
- '3.8'
102+
- "3.8"
103103
[%- endif %]
104104
[%- if version_between("3.9", min_py, max_py) %]
105-
- '3.9'
105+
- "3.9"
106106
[%- endif %]
107107
[%- if version_between("3.10", min_py, max_py) %]
108-
- '3.10'
108+
- "3.10"
109109
[%- endif %]
110110
[%- if version_between("3.11", min_py, max_py) %]
111-
- '3.11'
111+
- "3.11"
112112
[%- endif %]
113113
[%- if version_between("3.12", min_py, max_py) %]
114-
- '3.12'
114+
- "3.12"
115115
[%- endif %]
116116
package-publish:
117117
needs: release-publish
@@ -121,7 +121,7 @@ jobs:
121121
- uses: pdm-project/setup-pdm@c050bdcb2405837648035b6678c75609d53a749f # v4
122122
with:
123123
cache: true
124-
python-version: '{{ default_py }}'
124+
python-version: "{{ default_py }}"
125125
- run: env | sort
126126
- env:
127127
PDM_PUBLISH_PASSWORD: {{ '${{ secrets.PDM_PUBLISH_PASSWORD }}' }}

template/[% if repo_host_type == 'github.com' %].github[% endif %]/workflows/renovate.yml.jinja

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,13 @@ jobs:
1313
RENOVATE_ENABLED_MANAGERS: '["pep621", "github-actions", "regex"]'
1414
[%- endif %]
1515
RENOVATE_GIT_AUTHOR: Renovate GitHub Bot <github@renovatebot.com>
16-
RENOVATE_OPTIMIZE_FOR_DISABLED: 'true'
16+
RENOVATE_OPTIMIZE_FOR_DISABLED: "true"
1717
RENOVATE_PLATFORM: github
1818
RENOVATE_REPOSITORIES: '["{{ '${{ github.repository }}' }}"]'
1919
RENOVATE_REPOSITORY_CACHE: enabled
2020
RENOVATE_TOKEN: {{ '${{ secrets.RENOVATE_TOKEN }}' }}
2121
image: ghcr.io/renovatebot/renovate:37.246.0-full@sha256:2bbd0a3d5d92be7c56168b369dc4119840a9e341c3c09fdef9d1ac6735042c80
22-
options: '--user root'
22+
options: "--user root"
2323
runs-on: ubuntu-22.04
2424
steps:
2525
- run: env | sort
@@ -41,5 +41,5 @@ jobs:
4141
on:
4242
schedule:
4343
# * is a special character in YAML so you have to quote this string
44-
- cron: '*/15 0-3 * * 1'
44+
- cron: "*/15 0-3 * * 1"
4545
workflow_dispatch: null

0 commit comments

Comments
 (0)