From 797c74a0268e4ee1e594e154444db34a07e7a53d Mon Sep 17 00:00:00 2001 From: microcks-bot Date: Thu, 7 Nov 2024 14:31:22 +0100 Subject: [PATCH] ci: update WELCOME-NEW-USERS workflow from global .github repo (#154) Signed-off-by: microcks-bot --- .github/workflows/welcome-new-users.yml | 67 +++++++++++++++++++++++++ 1 file changed, 67 insertions(+) create mode 100644 .github/workflows/welcome-new-users.yml diff --git a/.github/workflows/welcome-new-users.yml b/.github/workflows/welcome-new-users.yml new file mode 100644 index 0000000..57d83c5 --- /dev/null +++ b/.github/workflows/welcome-new-users.yml @@ -0,0 +1,67 @@ +# Welcome new users by commenting on the first-time issue/PR. +# Adding a friendly message in the comment to tip non-stargazers to star our repo. +# +# Props to https://github.com/wow-actions/welcome + +name: Welcome New Users with Thanks and Tip non-stargazers ;-) +on: + pull_request_target: + types: [opened, closed] + issues: + types: [opened] +jobs: + run: + # Do not run on bots and maintainers + if: ${{ !contains(fromJson('["dependabot[bot]", "dependabot-preview[bot]", "allcontributors[bot]"]'), github.actor) }} + runs-on: ubuntu-latest + steps: + - uses: wow-actions/welcome@68019c2c271561f63162fea75bb7707ef8a02c85 # To pin v1.3.1 + with: + # GitHub token as default GITHUB_TOKEN + + FIRST_ISSUE_REACTIONS: '+1, hooray, rocket, heart' + + FIRST_ISSUE: | + 👋 @{{ author }} + + Welcome to the Microcks community! 💖 + + Thanks and congrats 🎉 for opening your first issue here! Be sure to follow the issue template or please update it accordingly. + + 📢 If you're using Microcks in your organization, please [add your company name to this list](https://github.com/microcks/.github/blob/main/ADOPTERS.md). 🙏 It really helps the project to gain momentum and credibility. It's a small contribution back to the project with a big impact. + + If you need to know why and how to add yourself to the list, please read the blog post ["Join the Microcks Adopters list and Empower the vibrant open source Community 🙌"](https://microcks.io/blog/join-adopters-list/) + + Hope you have a great time there! + + FIRST_PR_REACTIONS: '+1, hooray, rocket, heart' + + FIRST_PR: | + 👋 @{{ author }} + + Welcome to the Microcks community! 💖 + + Thanks and congrats 🎉 for opening your first pull request here! Be sure to follow the pull request template or please update it accordingly. + + Hope you have a great time there! + + FIRST_PR_MERGED: | + 🎉 @{{ author }} + + You are now a Microcks community contributor! 💖 + + Thanks and congrats 🚀 on merging your first pull request! We are delighted and very proud of you! 👏 + + 📢 If you're using Microcks in your organization, please [add your company name to this list](https://github.com/microcks/.github/blob/main/ADOPTERS.md). 🙏 It really helps the project to gain momentum and credibility. It's a small contribution back to the project with a big impact. + + If you need to know why and how to add yourself to the list, please read the blog post ["Join the Microcks Adopters list and Empower the vibrant open source Community 🙌"](https://microcks.io/blog/join-adopters-list/) + + Kudos and please keep going, we need you 🙌 + + STAR_MESSAGE: | + 🌟 ~~~~~~~~~ 🌟 + + 📢 If you like Microcks, please ⭐ star ⭐ our repo to support it! + + 🙏 It really helps the project to gain momentum and credibility. It's a small contribution back to the project with a big impact. +