Skip to content

Commit 5488f75

Browse files
authored
Merge pull request vavkamil#88 from vavkamil/vavkamil/ci
chore(security): Pin deps to hash & unify CI templates
2 parents 3f65e8c + e94d262 commit 5488f75

5 files changed

Lines changed: 19 additions & 10 deletions

File tree

.github/dependabot.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ updates:
1111
assignees:
1212
- "vavkamil"
1313
cooldown:
14-
default-days: 7
14+
default-days: 14
1515

1616
- package-ecosystem: "github-actions"
1717
directory: "/"
@@ -22,4 +22,4 @@ updates:
2222
assignees:
2323
- "vavkamil"
2424
cooldown:
25-
default-days: 7
25+
default-days: 14

.github/workflows/security-zizmor.yml

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# https://github.com/woodruffw/zizmor
22

3-
name: Security
3+
name: Security - zizmor
44

55
on:
66
push:
@@ -12,23 +12,27 @@ on:
1212

1313
permissions: {}
1414

15+
concurrency:
16+
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
17+
cancel-in-progress: true
18+
1519
jobs:
1620
zizmor:
17-
# name: zizmor via PyPI
18-
runs-on: ubuntu-latest
21+
# name: zizmor latest via PyPI
22+
runs-on: ubuntu-slim
1923
permissions:
2024
contents: read
2125

2226
steps:
2327
- name: Checkout repository
24-
uses: actions/checkout@v6.0.2 # zizmor: ignore[unpinned-uses]
28+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
2529
with:
2630
persist-credentials: false
2731

2832
- name: Set up Python
29-
uses: actions/setup-python@v6 # zizmor: ignore[unpinned-uses]
33+
uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0
3034
with:
31-
python-version: '3.10.4'
35+
python-version-file: '.python-version'
3236

3337
- name: Install Zizmor
3438
run: |

.github/workflows/stargazers.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@ on:
77

88
permissions: {}
99

10+
concurrency:
11+
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
12+
cancel-in-progress: true
13+
1014
jobs:
1115
check-new-links:
1216
runs-on: ubuntu-latest
@@ -15,7 +19,7 @@ jobs:
1519

1620
steps:
1721
- name: Checkout repository
18-
uses: actions/checkout@v6.0.2 # zizmor: ignore[unpinned-uses]
22+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
1923
with:
2024
fetch-depth: 0
2125
persist-credentials: false

.python-version

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
3.14.3

requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
zizmor==1.22.0
1+
zizmor==1.23.1

0 commit comments

Comments
 (0)