Skip to content

Commit 9ca89ee

Browse files
committed
chore: update dependency configurations and remove unused workflows
1 parent 986d21a commit 9ca89ee

11 files changed

Lines changed: 53 additions & 89 deletions

.github/dependabot.yml

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,3 @@ updates:
2727
interval: "weekly"
2828
commit-message:
2929
prefix: "chore"
30-
31-
- package-ecosystem: "docker"
32-
directory: "/"
33-
schedule:
34-
interval: "weekly"
35-
commit-message:
36-
prefix: "chore"

.github/renovate.json

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"extends": ["config:base"],
2+
"extends": ["config:recommended"],
33
"automerge": false,
44
"timezone": "Europe/Amsterdam",
55
"labels": ["dependencies"],
@@ -23,12 +23,6 @@
2323
"automerge": true,
2424
"automergeType": "minor",
2525
"schedule": ["before 3am on Monday"]
26-
},
27-
{
28-
"managers": ["docker"],
29-
"groupName": "docker images",
30-
"schedule": ["before 3am on Monday"],
31-
"automerge": false
3226
}
3327
]
3428
}

.github/workflows/check-dependencies.yml

Lines changed: 0 additions & 43 deletions
This file was deleted.

.github/workflows/codeql-analysis.yml

Lines changed: 14 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,22 +11,30 @@ on:
1111
permissions:
1212
contents: read
1313
security-events: write
14+
actions: read
1415

1516
jobs:
1617
analyze:
17-
name: Analyze (CodeQL)
18+
name: Analyze (${{ matrix.language }})
1819
runs-on: ubuntu-latest
20+
strategy:
21+
fail-fast: false
22+
matrix:
23+
language: [ go, python ]
24+
1925
steps:
2026
- name: Checkout repository
21-
uses: actions/checkout@v6
27+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
2228

2329
- name: Initialize CodeQL
24-
uses: github/codeql-action/init@v2
30+
uses: github/codeql-action/init@c10b8064de6f491fea524254123dbe5e09572f13 # v4.35.1
2531
with:
26-
languages: go
32+
languages: ${{ matrix.language }}
2733

2834
- name: Autobuild
29-
uses: github/codeql-action/autobuild@v2
35+
uses: github/codeql-action/autobuild@c10b8064de6f491fea524254123dbe5e09572f13 # v4.35.1
3036

3137
- name: Perform CodeQL Analysis
32-
uses: github/codeql-action/analyze@v2
38+
uses: github/codeql-action/analyze@c10b8064de6f491fea524254123dbe5e09572f13 # v4.35.1
39+
with:
40+
category: "/language:${{ matrix.language }}"

.github/workflows/hugo.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -25,20 +25,20 @@ jobs:
2525
HUGO_VERSION: 0.160.0
2626
steps:
2727
- name: Install Hugo CLI
28-
uses: peaceiris/actions-hugo@v3.0.0
28+
uses: peaceiris/actions-hugo@75d2e84710de30f6ff7268e08f310b60ef14033f # v3.0.0
2929
with:
3030
hugo-version: '0.160.1'
3131
extended: true
3232

3333
- name: Checkout
34-
uses: actions/checkout@v6
34+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
3535
with:
3636
submodules: recursive
3737
fetch-depth: 0
3838

3939
- name: Setup Pages
4040
id: pages
41-
uses: actions/configure-pages@v6
41+
uses: actions/configure-pages@45bfe0192ca1faeb007ade9deae92b16b8254a0d # v6
4242

4343
- name: Build with Hugo
4444
env:
@@ -52,7 +52,7 @@ jobs:
5252
--baseURL "${{ steps.pages.outputs.base_url }}/"
5353
5454
- name: Upload artifact
55-
uses: actions/upload-pages-artifact@v4
55+
uses: actions/upload-pages-artifact@7b1f4a764d45c48632c6b24a0339c27f5614fb0b # v4
5656
with:
5757
path: ./public
5858

@@ -65,4 +65,4 @@ jobs:
6565
steps:
6666
- name: Deploy to GitHub Pages
6767
id: deployment
68-
uses: actions/deploy-pages@v5
68+
uses: actions/deploy-pages@cd2ce8fcbc39b97be8ca5fce6e763baed58fa128 # v5

.github/workflows/pr-checks.yml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ jobs:
3434
name: Markdown lint
3535
runs-on: ubuntu-latest
3636
steps:
37-
- uses: actions/checkout@v6
37+
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
3838
- uses: DavidAnson/markdownlint-cli2-action@ce4853d43830c74c1753b39f3cf40f71c2031eb9 # v23.0.0
3939
with:
4040
globs: "content/**/*.md"
@@ -44,8 +44,8 @@ jobs:
4444
name: Python security (bandit)
4545
runs-on: ubuntu-latest
4646
steps:
47-
- uses: actions/checkout@v6
48-
- uses: actions/setup-python@v6
47+
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
48+
- uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0
4949
with:
5050
python-version: "3.x"
5151
- run: pip install bandit
@@ -57,7 +57,7 @@ jobs:
5757
name: No PNG/JPG in static/images
5858
runs-on: ubuntu-latest
5959
steps:
60-
- uses: actions/checkout@v6
60+
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
6161

6262
- name: Find non-AVIF images
6363
id: check
@@ -78,7 +78,7 @@ jobs:
7878
7979
- name: Post PR comment
8080
if: steps.check.outputs.found == 'true'
81-
uses: actions/github-script@v9
81+
uses: actions/github-script@d746ffe35508b1917358783b479e04febd2b8f71 # v9.0.0
8282
env:
8383
FILES: ${{ steps.check.outputs.files }}
8484
ACTOR: ${{ github.event.pull_request.user.login }}
@@ -128,7 +128,7 @@ jobs:
128128
name: EN/NL file parity
129129
runs-on: ubuntu-latest
130130
steps:
131-
- uses: actions/checkout@v6
131+
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
132132
- name: Check every .md has a matching .nl.md
133133
run: |
134134
missing=""
@@ -154,7 +154,7 @@ jobs:
154154
env:
155155
HUGO_VERSION: 0.152.2
156156
steps:
157-
- uses: actions/checkout@v6
157+
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
158158
with:
159159
submodules: recursive
160160
fetch-depth: 0
@@ -170,7 +170,7 @@ jobs:
170170
TZ: Europe/Amsterdam
171171
run: hugo --gc --minify --baseURL "http://localhost/"
172172
- name: Upload built site
173-
uses: actions/upload-artifact@v7
173+
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
174174
with:
175175
name: hugo-public
176176
path: public/
@@ -182,7 +182,7 @@ jobs:
182182
runs-on: ubuntu-latest
183183
needs: hugo-build
184184
steps:
185-
- uses: actions/download-artifact@v8
185+
- uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
186186
with:
187187
name: hugo-public
188188
path: public/
@@ -203,7 +203,7 @@ jobs:
203203
if: always()
204204
needs: [pr-title, bilingual, image-format, hugo-build, link-check]
205205
steps:
206-
- uses: actions/github-script@v9
206+
- uses: actions/github-script@d746ffe35508b1917358783b479e04febd2b8f71 # v9.0.0
207207
env:
208208
RESULT_PR_TITLE: ${{ needs.pr-title.result }}
209209
RESULT_BILINGUAL: ${{ needs.bilingual.result }}

.github/workflows/python-checks.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,10 @@ jobs:
1313
lint:
1414
runs-on: ubuntu-latest
1515
steps:
16-
- uses: actions/checkout@v6.0.2
16+
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
1717

1818
- name: Set up Python
19-
uses: actions/setup-python@v6.2.0
19+
uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0
2020
with:
2121
python-version: '3.14'
2222

@@ -29,4 +29,4 @@ jobs:
2929
run: flake8 static/scripts/saxion-eduroam.py --max-line-length=120
3030

3131
- name: Security scan with bandit
32-
run: bandit -r static/scripts/saxion-eduroam.py
32+
run: bandit -r static/scripts/saxion-eduroam.py -ll

.github/workflows/trivy-scan.yml

Lines changed: 15 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,26 @@ on:
55
- cron: '0 2 * * 0'
66
workflow_dispatch:
77

8+
permissions:
9+
contents: read
10+
security-events: write
11+
812
jobs:
913
trivy-scan:
1014
runs-on: ubuntu-latest
1115
steps:
12-
- uses: actions/checkout@v6
16+
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
17+
1318
- name: Run Trivy filesystem scan
14-
uses: aquasecurity/trivy-action@v0.35.0
19+
uses: aquasecurity/trivy-action@57a97c7e7821a5776cebc9bb87c984fa69cba8f1 # v0.35.0
1520
with:
1621
scan-type: fs
1722
severity: CRITICAL,HIGH
18-
format: table
23+
format: sarif
24+
output: trivy-results.sarif
25+
26+
- name: Upload Trivy results to GitHub Security tab
27+
uses: github/codeql-action/upload-sarif@c10b8064de6f491fea524254123dbe5e09572f13 # v4.35.1
28+
if: always()
29+
with:
30+
sarif_file: trivy-results.sarif

content/docs/networking/eduroam-network-installation.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,13 +59,13 @@ A Python script automates the full `nmcli` connection setup for Saxion:
5959
curl -LO https://zephyrus-linux.stensel.nl/scripts/saxion-eduroam.py
6060

6161
# 2. Verify checksum
62-
echo "c8d5eb6551807ae5e2b8b1b38e8edd02fc13f9c3c62edf5626f2f8845c916021 saxion-eduroam.py" | sha256sum -c
62+
echo "bb8c45e801fbd37bc7d8c12104ad3c525bc664571598344b90c5da0437631cf8 saxion-eduroam.py" | sha256sum -c
6363

6464
# 3. Run
6565
python3 saxion-eduroam.py
6666
```
6767

68-
**SHA256:** `8dd2f2120ddebdfd9d764e04954322307dccb8c855c691de7600f2a8a71db42b`
68+
**SHA256:** `bb8c45e801fbd37bc7d8c12104ad3c525bc664571598344b90c5da0437631cf8`
6969

7070
The script removes any existing eduroam profile, prompts for your **username** via a GUI dialog (zenity, kdialog, or yad) or terminal fallback, and activates the connection. Your password is never asked by the script; it is requested by your GNOME Keyring at connection time and stored securely, never in plaintext.
7171

content/docs/networking/eduroam-network-installation.nl.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,13 +59,13 @@ Een Python-script automatiseert de volledige `nmcli`-verbindingsconfiguratie voo
5959
curl -LO https://zephyrus-linux.stensel.nl/scripts/saxion-eduroam.py
6060

6161
# 2. Controleer de checksum
62-
echo "c8d5eb6551807ae5e2b8b1b38e8edd02fc13f9c3c62edf5626f2f8845c916021 saxion-eduroam.py" | sha256sum -c
62+
echo "bb8c45e801fbd37bc7d8c12104ad3c525bc664571598344b90c5da0437631cf8 saxion-eduroam.py" | sha256sum -c
6363

6464
# 3. Uitvoeren
6565
python3 saxion-eduroam.py
6666
```
6767

68-
**SHA256:** `8dd2f2120ddebdfd9d764e04954322307dccb8c855c691de7600f2a8a71db42b`
68+
**SHA256:** `bb8c45e801fbd37bc7d8c12104ad3c525bc664571598344b90c5da0437631cf8`
6969

7070
Het script verwijdert een eventueel bestaand eduroam-profiel, vraagt je **gebruikersnaam** via een GUI-dialoog (zenity, kdialog of yad) of terminal-fallback, en activeert de verbinding. Je wachtwoord wordt nooit door het script gevraagd; dat wordt bij het verbinden opgevraagd door je GNOME Keyring en veilig opgeslagen, nooit in platte tekst.
7171

0 commit comments

Comments
 (0)