We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent eebf892 commit 640c6d5Copy full SHA for 640c6d5
1 file changed
.github/workflows/python.yml
@@ -1,13 +1,21 @@
1
name: python
2
on: [push]
3
4
+permissions:
5
+ contents: read
6
+
7
jobs:
8
build:
9
runs-on: ubuntu-latest
10
steps:
- - uses: actions/checkout@v4
11
+ - name: Harden the runner (Audit all outbound calls)
12
+ uses: step-security/harden-runner@f4a75cfd619ee5ce8d5b864b0d183aff3c69b55a # v2.13.1
13
+ with:
14
+ egress-policy: audit
15
16
+ - uses: actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955 # v4.3.0
17
- name: Set up Python
- uses: actions/setup-python@v4
18
+ uses: actions/setup-python@7f4fc3e22c37d6ff65e88745f38bd3157c663f7c # v4.9.1
19
with:
20
python-version: '3.9'
21
@@ -24,4 +32,4 @@ jobs:
24
32
run: make tests
25
33
26
34
- name: Upload coverage to Codecov
27
- uses: codecov/codecov-action@v3
35
+ uses: codecov/codecov-action@ab904c41d6ece82784817410c45d8b8c02684457 # v3.1.6
0 commit comments