From bcb9850896d44f44c6f8089acb0cde61756d1cf5 Mon Sep 17 00:00:00 2001 From: hywax Date: Sat, 3 Feb 2024 15:20:45 +0500 Subject: [PATCH] ci: welcome plan --- .github/workflows/welcome.yml | 37 +++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 .github/workflows/welcome.yml diff --git a/.github/workflows/welcome.yml b/.github/workflows/welcome.yml new file mode 100644 index 0000000..b05c1b8 --- /dev/null +++ b/.github/workflows/welcome.yml @@ -0,0 +1,37 @@ +name: Welcome + +on: + pull_request_target: + types: [opened, closed] + issues: + types: [opened] + +jobs: + run: + runs-on: ubuntu-latest + steps: + - name: Welcome + uses: wow-actions/welcome@v1 + with: + GITHUB_TOKEN: ${{ secrets.BOT_GITHUB_TOKEN || secrets.GITHUB_TOKEN }} + FIRST_ISSUE: | + 👋 @{{ author }} + Thanks for opening your first issue here! + To help make it easier for us to investigate your issue, please follow the [contributing guidelines](https://mafl.hywax.space/community/contributing.html). + + FIRST_PR: | + 👋 @{{ author }} + + 💖 Thanks for opening this pull request! + + Please follow the [contributing guidelines](https://mafl.hywax.space/community/contributing.html). And we use [semantic commit messages](https://www.conventionalcommits.org/en/v1.0.0/) to streamline the release process. + + Examples of commit messages with semantic prefixes: + - `fix: interval for sending a request in the base service` + - `feat: add new NAME service` + - `docs: example of using the NAME service` + + FIRST_PR_MERGED: | + 👋 @{{ author }} Congrats on merging your first pull request! 🎉 + + STAR_MESSAGE: If you like this project, please ⭐ star our repo.