Przeglądaj źródła

feat(workflows): first-timer message (#326)

* feat(workflows): first-timer message

Just a little "hey there". For PRs remind them to sign commits.

* add explanation about why signed commits

* enhance pr-message

using the advice from @nklayman
nothingismagick 5 lat temu
rodzic
commit
bed75c1099
1 zmienionych plików z 13 dodań i 0 usunięć
  1. 13 0
      .github/workflows/greetings.yml

+ 13 - 0
.github/workflows/greetings.yml

@@ -0,0 +1,13 @@
+name: Greetings
+
+on: [pull_request, issues]
+
+jobs:
+  greeting:
+    runs-on: ubuntu-latest
+    steps:
+    - uses: actions/first-interaction@v1
+      with:
+        repo-token: ${{ secrets.GITHUB_TOKEN }}
+        issue-message: 'Thanks so much for your interest in Tauri!'' first issue'
+        pr-message: 'Thanks so much for your contribution! :heart:  We will get to reviewing and merging your PR asap. In the meantime, please make sure you have signed all your commits. Signed commits mean that we can have improved level of trust that the commit was actually pushed by you.'' first pr'