瀏覽代碼

Create a gh action for the first time contributors

JASKEERAT SINGH 3 年之前
父節點
當前提交
3c9eb824ca
共有 1 個文件被更改,包括 30 次插入0 次删除
  1. 30 0
      .github/workflows/welcome-first-time-contributors.yml

+ 30 - 0
.github/workflows/welcome-first-time-contributors.yml

@@ -0,0 +1,30 @@
+name: Welcome first time contributors
+
+on:
+  pull_request_target:
+    types:
+      - opened
+  issues:
+    types:
+      - opened
+
+jobs:
+  welcome:
+    runs-on: ubuntu-latest
+    steps:
+      - uses: actions/first-interaction@v1
+        with:
+          repo-token: ${{ secrets.GITHUB_TOKEN }}
+          issue-message: |
+            Hello there ${{ github.actor }}! 👋
+
+            Thank you and congratulations 🎉 for opening your very first issue in this project! 💖
+
+            In case you want to claim this issue, please comment down below! We will try to get back to you as soon as we can. 👀
+            
+          pr-message: |
+            Hello there ${{ github.actor }}! 👋
+
+            Thank you and congrats 🎉 for opening your first PR on this project! ✨ 💖
+
+            We will try to review it soon!