浏览代码

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 年之前
父节点
当前提交
bed75c1099
共有 1 个文件被更改,包括 13 次插入0 次删除
  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'