Skip to content

armgit / kwant

Public Imported from GitHub
0

Your own team of AI bots in one self-hosted binary: spaces, every account you have, handoffs, approvals and routines. Open-source, self-hosted alternative to Grok Bot, Claude Duet and OpenAI dots. Rust + React.

CI: pin third-party actions to commit shas; Dependabot keeps actions current (#351)

Oleksandr Ivanchenkob183a9cdb819
diff --git a/.github/dependabot.yml b/.github/dependabot.yml
new file mode 100644
index 00000000..d364c189
--- /dev/null
+++ b/.github/dependabot.yml
@@ -0,0 +1,16 @@
+# Dependabot security updates for cargo and npm are switched on in the
+# repository settings, so vulnerable dependencies already get a PR on their own.
+# This file only keeps the GitHub Actions in .github/workflows current. The
+# third-party ones are pinned to a full commit sha, so a moved tag can't change
+# what runs next to the update-signing key in the release jobs.
+version: 2
+updates:
+ - package-ecosystem: "github-actions"
+ directory: "/"
+ schedule:
+ interval: "monthly"
+ groups:
+ actions:
+ patterns: ["*"]
+ commit-message:
+ prefix: "CI"
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 55516eda..46a84939 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -69,10 +69,10 @@ jobs:
with:
name: frontend-dist
path: frontend/dist
- - uses: dtolnay/rust-toolchain@stable
+ - uses: dtolnay/rust-toolchain@b725eda525362e7cf34af9a7243cac1e3f01a7ec # stable
with:
components: clippy
- - uses: Swatinem/rust-cache@v2
+ - uses: Swatinem/rust-cache@d1527c8f67ef9af357290475d4af4b0fab8f12e0 # v2.9.3
- name: Clippy
run: cargo clippy --all-targets --locked -- -D warnings
# apps/mac has its own Cargo.lock; mac.yml only runs on PRs touching apps/mac,
diff --git a/.github/workflows/linux.yml b/.github/workflows/linux.yml
index d689055d..d80ebc37 100644
--- a/.github/workflows/linux.yml
+++ b/.github/workflows/linux.yml
@@ -60,8 +60,8 @@ jobs:
- name: Build the web UI
working-directory: frontend
run: npm ci && npm run build
- - uses: dtolnay/rust-toolchain@stable
- - uses: Swatinem/rust-cache@v2
+ - uses: dtolnay/rust-toolchain@b725eda525362e7cf34af9a7243cac1e3f01a7ec # stable
+ - uses: Swatinem/rust-cache@d1527c8f67ef9af357290475d4af4b0fab8f12e0 # v2.9.3
with:
workspaces: apps/mac
- name: Unit tests (PATH merge, port choice, links)
diff --git a/.github/workflows/mac.yml b/.github/workflows/mac.yml
index 9b99c463..5a7cf6bd 100644
--- a/.github/workflows/mac.yml
+++ b/.github/workflows/mac.yml
@@ -96,10 +96,10 @@ jobs:
- name: Build the web UI
working-directory: frontend
run: npm ci && npm run build
- - uses: dtolnay/rust-toolchain@stable
+ - uses: dtolnay/rust-toolchain@b725eda525362e7cf34af9a7243cac1e3f01a7ec # stable
with:
targets: aarch64-apple-darwin,x86_64-apple-darwin
- - uses: Swatinem/rust-cache@v2
+ - uses: Swatinem/rust-cache@d1527c8f67ef9af357290475d4af4b0fab8f12e0 # v2.9.3
with:
workspaces: apps/mac
- name: Unit tests (PATH merge, port choice)