Commit 08fbbf9f1ae2bf5f948b05241d6f3ab8240c0f32

Parents: 32cfa2f1c4445d58a81be37df6d514ac0e485bad

From: Moritz Poldrack <git@moritz.sh>
Date: Mon Dec 6 18:12:31 2021 +0700

added GitHub auto-mirroring

		

Stats

.build.yml +6/-8
.github/workflows/close-issue.yml +14/-0

Changeset

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
diff --git a/.build.yml b/.build.yml
index 63a70908c6a592bf06c3926f71914a147ef5dbb5..4107981e4227c4e1806e9ed372b92fc1e69daa07 100644
--- a/.build.yml
+++ b/.build.yml
@@ -1,16 +1,14 @@
 image: archlinux
 packages:
-  - unzip
   - git
-  - jre-openjdk-headless
-  - go
 secrets:
-  - e981d560-d8ad-4e0a-8e30-f45647576614
+  - a4a77b05-94e0-443c-9408-b2d81f7263fe
+  - b15309e0-8156-44c8-aa7c-58c0f0b7d503
 shell: false
 sources:
 - https://git.sr.ht/~poldi1405/go-ansi
 tasks:
-  - code-review: |
-      cd go-ansi
-      go test -v -coverprofile=coverage.out
-      ~/sonarcloud_scan
+  - mirror-to-github: |
+      git clone --mirror https://git.sr.ht/~poldi1405/go-ansi
+      cd go-ansi.git
+      git push --mirror git@github.com:mpldr/go-ansi.git
diff --git a/.github/workflows/close-issue.yml b/.github/workflows/close-issue.yml
new file mode 100644
index 0000000000000000000000000000000000000000..3d35ab91e3b8c3493c1cb306928ccacd0ed478b3
--- /dev/null
+++ b/.github/workflows/close-issue.yml
@@ -0,0 +1,14 @@
+on:
+  issues:
+    types: [opened]
+jobs:
+  titlePrefixCheck:
+    runs-on: ubuntu-latest
+    steps:
+      - name: Close Issue
+        uses: peter-evans/close-issue@v1
+        with:
+          comment: |
+              Hey there,
+  
+              it seems you have an issue. Unfortunately this is just a mirror of this project, and I will therefore not respond to any issues raised on GitHub. If you have an issue, please send an email to [~poldi1405/issues@todo.sr.ht](mailto:~poldi1405/issues@todo.sr.ht) in order to create a ticket in our issue tracker over [at sourcehut](https://todo.sr.ht/~poldi1405/issues). You do not need an account in order to participate.