Skip to content

Commit 782a9ac

Browse files
committed
init: automate cacert bundle update
0 parents  commit 782a9ac

File tree

4 files changed

+3380
-0
lines changed

4 files changed

+3380
-0
lines changed

.github/workflows/update.yml

+22
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
on:
2+
schedule:
3+
- cron: "0 0 * * *"
4+
5+
jobs:
6+
update:
7+
runs-on: ubuntu-latest
8+
9+
permissions:
10+
contents: write
11+
12+
steps:
13+
- uses: actions/checkout@v3
14+
- uses: DeterminateSystems/nix-installer-action@main
15+
16+
- run: nix build nixpkgs#cacert
17+
- run: cp result/etc/ssl/certs/ca-bundle.crt cacert.pem
18+
19+
- uses: stefanzweifel/git-auto-commit-action@v5
20+
with:
21+
commit_message: "Automated update"
22+
commit_author: "Scheduler"

0 commit comments

Comments
 (0)