👷 (ci): Mirror only on pushes to main
Changes
2 files changed, +4 -2
MODIFY
.github/workflows/mirror.yml
+2 -0
@@ -2,6 +2,8 @@
2
2
3
3
on:
4
4
push:
5
+ branches:
6
+ - main
5
7
workflow_dispatch:
6
8
7
9
jobs:
MODIFY
README.md
+2 -2
@@ -133,5 +133,5 @@
133
133
JVM container image to GHCR.
134
134
- `.github/workflows/native.yml` — native build + integration tests on every push/PR.
135
135
- `.github/workflows/mirror.yml` — mirrors all branches and tags to
136
- `https://gitshark.ha1nz.de/git/miggi/GitShark.git` on every push (force + prune; auth via
137
- `GITSHARK_TOKEN` repository secret holding a GitShark access token).
136
+ `https://gitshark.ha1nz.de/git/miggi/GitShark.git` on every push to `main` (force + prune;
137
+ auth via `GITSHARK_TOKEN` repository secret holding a GitShark access token).