Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 3a4819c

Browse files
committed
style: make workflows more uniform
1 parent 2a53705 commit 3a4819c

5 files changed

Lines changed: 13 additions & 12 deletions

File tree

.github/workflows/codeql-analysis.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ on:
2020
branches:
2121
- main
2222
schedule:
23-
- cron: '30 20 * * 6'
23+
- cron: "30 20 * * 6"
2424

2525
permissions:
2626
contents: read
@@ -31,7 +31,7 @@ concurrency:
3131

3232
jobs:
3333
analyze:
34-
name: Analyze
34+
name: "Analyze"
3535
runs-on: ubuntu-latest
3636
permissions:
3737
actions: read # CodeQL wrote this action.
@@ -48,7 +48,7 @@ jobs:
4848
# Learn more about CodeQL language support at https://git.io/codeql-language-support
4949

5050
steps:
51-
- name: Checkout repository
51+
- name: "Check out the repo"
5252
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
5353
with:
5454
persist-credentials: false

.github/workflows/dependency-review.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@
55
# Source repository: https://github.com/actions/dependency-review-action
66
# Public documentation: https://docs.github.com/en/code-security/supply-chain-security/understanding-your-software-supply-chain/about-dependency-review#dependency-review-enforcement
77

8-
name: 'Dependency Review'
8+
name: "Dependency Review"
9+
910
on:
1011
push:
1112
branches:
@@ -27,12 +28,12 @@ jobs:
2728
if: github.repository_owner == 'coveragepy'
2829
runs-on: ubuntu-latest
2930
steps:
30-
- name: 'Checkout Repository'
31+
- name: "Check out the repo"
3132
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
3233
with:
3334
persist-credentials: false
3435

35-
- name: 'Dependency Review'
36+
- name: "Dependency Review"
3637
uses: actions/dependency-review-action@2031cfc080254a8a887f58cffee85186f0e49e48 # v4.9.0
3738
with:
3839
base-ref: ${{ github.event.pull_request.base.sha || 'main' }}

.github/workflows/publish.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ concurrency:
2929
jobs:
3030
find-run:
3131
name: "Find latest kit.yml run"
32-
runs-on: "ubuntu-latest"
32+
runs-on: ubuntu-latest
3333
outputs:
3434
run-id: ${{ steps.run-id.outputs.run-id }}
3535

@@ -56,7 +56,7 @@ jobs:
5656
permissions:
5757
id-token: write # needed for actions/attest-build-provenance
5858
attestations: write # needed for actions/attest-build-provenance
59-
runs-on: "ubuntu-latest"
59+
runs-on: ubuntu-latest
6060
environment:
6161
name: "testpypi"
6262
needs:
@@ -96,7 +96,7 @@ jobs:
9696
permissions:
9797
id-token: write # needed for actions/attest-build-provenance
9898
attestations: write # needed for actions/attest-build-provenance
99-
runs-on: "ubuntu-latest"
99+
runs-on: ubuntu-latest
100100
environment:
101101
name: "pypi"
102102
needs:

.github/workflows/quality.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -178,13 +178,13 @@ jobs:
178178
|| needs.changed.outputs.workflow == 'true'
179179

180180
steps:
181-
- name: "Check out repo"
181+
- name: "Check out the repo"
182182
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
183183
with:
184184
persist-credentials: false
185185

186186
- name: "Install uv"
187-
uses: astral-sh/setup-uv@eac588ad8def6316056a12d4907a9d4d84ff7a3b #v7.3.0
187+
uses: astral-sh/setup-uv@eac588ad8def6316056a12d4907a9d4d84ff7a3b # v7.3.0
188188
with:
189189
enable-cache: false
190190

.github/workflows/testsuite.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ jobs:
170170
# https://github.com/marketplace/actions/alls-green#why
171171
# https://github.com/orgs/community/discussions/33579
172172
success:
173-
name: Tests successful
173+
name: "Tests successful"
174174
needs:
175175
- tests
176176
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)