From acbb682225f7cfd096cbdef74b5eca30a9349c13 Mon Sep 17 00:00:00 2001 From: Daniel Leroux Date: Fri, 17 Jan 2025 14:12:55 +0100 Subject: [PATCH] ci(comment-issue): bot comment for contribution --- .../workflows/issue-contribution-welcome.yml | 22 +++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 .github/workflows/issue-contribution-welcome.yml diff --git a/.github/workflows/issue-contribution-welcome.yml b/.github/workflows/issue-contribution-welcome.yml new file mode 100644 index 0000000000..aa8f7360c3 --- /dev/null +++ b/.github/workflows/issue-contribution-welcome.yml @@ -0,0 +1,22 @@ +name: Contribution welcome labeling + +on: + issues: + types: [labeled] + +jobs: + comment-issue: + if: ${{ github.repository == 'siemens/ix' }} + runs-on: ubuntu-latest + steps: + - name: Contribution welcome comment created + if: "contains(github.event.label.name, 'Contribution welcome')" + uses: actions-cool/issues-helper@v3 + with: + actions: 'create-comment' + token: ${{ secrets.GITHUB_TOKEN }} + body: | + Thank you for creating this issue! It has been labeled as `Contribution welcome 👨‍💻`. This issue is open for contributions from the community. + + If you'd like to work on this issue, please comment here letting us know that you would like to submit a pull request for it. This helps us to keep track of the pull request and make sure there isn't duplicated effort. + Thank you!