Skip to content

Commit e8130d2

Browse files
committed
Add names to all GitHub Action job steps
1 parent aaf40bd commit e8130d2

4 files changed

Lines changed: 32 additions & 21 deletions

File tree

.github/workflows/ci.yml

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -23,17 +23,19 @@ jobs:
2323
python-version: ["3.8", "3.9", "3.10"]
2424

2525
name: "Test (${{ matrix.python-version }})"
26-
runs-on: ubuntu-latest
26+
runs-on: "ubuntu-latest"
2727
continue-on-error: false
2828

2929
steps:
30-
- uses: "actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b"
30+
- name: "Checkout repository"
31+
uses: "actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b"
3132

32-
- uses: "actions/setup-python@d09bd5e6005b175076f227b13d9730d56e9dcfcb"
33+
- name: "Setup Python"
34+
uses: "actions/setup-python@d09bd5e6005b175076f227b13d9730d56e9dcfcb"
3335
with:
34-
python-version: ${{ matrix.python-version }}
36+
python-version: "${{ matrix.python-version }}"
3537

36-
- name: "test"
38+
- name: "Run tests"
3739
run: |
3840
python -m pip install -r requirements/test.txt
3941
python -m pip install .

.github/workflows/codeql-analysis.yml

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@ permissions: "read-all"
1212

1313
jobs:
1414
analyze:
15-
name: Analyze
16-
runs-on: ubuntu-latest
15+
name: "Analyze"
16+
runs-on: "ubuntu-latest"
1717
permissions:
1818
actions: read
1919
contents: read
@@ -25,12 +25,16 @@ jobs:
2525
language: ["python"]
2626

2727
steps:
28-
- uses: "actions/checkout@v3"
28+
- name: "Checkout repository"
29+
uses: "actions/checkout@a12a3943b4bdde767164f792f33f40b04645d846"
2930

30-
- uses: "github/codeql-action/init@v2"
31+
- name: "Run CodeQL init"
32+
uses: "github/codeql-action/init@d8c9c723a57c026c525f404cf42aa0575f3f0bd8"
3133
with:
32-
languages: ${{ matrix.language }}
34+
languages: "${{ matrix.language }}"
3335

34-
- uses: "github/codeql-action/autobuild@v2"
36+
- name: "Run CodeQL autobuild"
37+
uses: "github/codeql-action/autobuild@d8c9c723a57c026c525f404cf42aa0575f3f0bd8"
3538

36-
- uses: "github/codeql-action/analyze@v2"
39+
- name: "Run CodeQL analyze"
40+
uses: "github/codeql-action/analyze@d8c9c723a57c026c525f404cf42aa0575f3f0bd8"

.github/workflows/publish.yml

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Publish
1+
name: "Publish"
22

33
on:
44
push:
@@ -16,10 +16,13 @@ jobs:
1616
runs-on: "ubuntu-latest"
1717
environment:
1818
name: "publish"
19+
1920
steps:
20-
- uses: "actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b"
21+
- name: "Checkout repository"
22+
uses: "actions/checkout@a12a3943b4bdde767164f792f33f40b04645d846"
2123

22-
- uses: "actions/setup-python@d09bd5e6005b175076f227b13d9730d56e9dcfcb"
24+
- name: "Setup Python"
25+
uses: "actions/setup-python@d09bd5e6005b175076f227b13d9730d56e9dcfcb"
2326
with:
2427
python-version: "3.x"
2528

@@ -54,13 +57,15 @@ jobs:
5457
5558
done
5659
57-
- uses: "actions/upload-artifact@3cea5372237819ed00197afe530f5a7ea3e805c8"
60+
- name: "Upload artifacts"
61+
uses: "actions/upload-artifact@3cea5372237819ed00197afe530f5a7ea3e805c8"
5862
with:
5963
name: "sigstore-artifacts"
6064
path: "sigstore-artifacts/*"
6165
if-no-files-found: "error"
6266

63-
- uses: "pypa/gh-action-pypi-publish@717ba43cfbb0387f6ce311b169a825772f54d295"
67+
- name: "Publish to PyPI"
68+
uses: "pypa/gh-action-pypi-publish@717ba43cfbb0387f6ce311b169a825772f54d295"
6469
with:
6570
user: __token__
6671
password: ${{ secrets.PYPI_TOKEN }}

.github/workflows/scorecards.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: "Scorecard"
1+
name: "Scorecards"
22

33
on:
44
branch_protection_rule:
@@ -12,7 +12,7 @@ permissions: "read-all"
1212
jobs:
1313
analyze:
1414
name: Scorecards analysis
15-
runs-on: ubuntu-latest
15+
runs-on: "ubuntu-latest"
1616
permissions:
1717
security-events: write
1818
id-token: write
@@ -21,12 +21,12 @@ jobs:
2121

2222
steps:
2323
- name: "Checkout repository"
24-
uses: actions/checkout@a12a3943b4bdde767164f792f33f40b04645d846
24+
uses: "actions/checkout@a12a3943b4bdde767164f792f33f40b04645d846"
2525
with:
2626
persist-credentials: false
2727

2828
- name: "Run analysis"
29-
uses: ossf/scorecard-action@3e15ea8318eee9b333819ec77a36aca8d39df13e
29+
uses: "ossf/scorecard-action@3e15ea8318eee9b333819ec77a36aca8d39df13e"
3030
with:
3131
results_file: results.sarif
3232
results_format: sarif

0 commit comments

Comments
 (0)