|
| 1 | +name: Add comment on label |
| 2 | + |
| 3 | +on: |
| 4 | + issues: |
| 5 | + types: |
| 6 | + - labeled |
| 7 | + pull_request: |
| 8 | + types: |
| 9 | + - labeled |
| 10 | + |
| 11 | +env: |
| 12 | + GH_TOKEN: ${{ secrets.WDIO_BOT_GITHUB_TOKEN }} |
| 13 | + |
| 14 | +jobs: |
| 15 | + first-contribution: |
| 16 | + if: github.event.label.name == 'First Contribution 🎉' |
| 17 | + runs-on: ubuntu-latest |
| 18 | + permissions: |
| 19 | + issues: write |
| 20 | + steps: |
| 21 | + - name: Add comment on first contribution label |
| 22 | + run: gh issue comment "$NUMBER" --body "$BODY" |
| 23 | + env: |
| 24 | + GH_REPO: ${{ github.repository }} |
| 25 | + NUMBER: ${{ github.event.issue.number }} |
| 26 | + BODY: > |
| 27 | + Congratulations on your first contribution to VSCode for WebdriverIO 🎉 |
| 28 | +
|
| 29 | +
|
| 30 | + This project thrives on the invaluable involvement of our community, and we are |
| 31 | + truly grateful for your contribution. We eagerly anticipate witnessing more of |
| 32 | + your exceptional work, so please don't hesitate to inform us if we can assist |
| 33 | + you in identifying intriguing areas where you can make further contributions. |
| 34 | +
|
| 35 | +
|
| 36 | + Join our lively [Discord](https://discord.webdriver.io/) channel and reach out to us; |
| 37 | + we would be delighted to connect with you. Your efforts are deeply appreciated, |
| 38 | + and we extend our heartfelt gratitude to you. 🙏 ❤️ |
| 39 | + reproducible-example-missing: |
| 40 | + if: github.event.label.name == 'Reproducible Example Missing' |
| 41 | + runs-on: ubuntu-latest |
| 42 | + permissions: |
| 43 | + issues: write |
| 44 | + steps: |
| 45 | + - name: Add comment if a reproducible example is missing |
| 46 | + run: gh issue comment "$NUMBER" --body "$BODY" |
| 47 | + env: |
| 48 | + GH_REPO: ${{ github.repository }} |
| 49 | + NUMBER: ${{ github.event.issue.number }} |
| 50 | + BODY: > |
| 51 | + Thanks for raising this issue 🙏 |
| 52 | +
|
| 53 | +
|
| 54 | + Unfortunately we can't help you without a reproducible example in this matter. Please read |
| 55 | + our [contributing guidelines](https://github.com/webdriverio/vscode-webdriverio/blob/main/CONTRIBUTION.md#reporting-new-issues) |
| 56 | + on how to create a reproducible example. If you can't provide a reproducible example we will |
| 57 | + close this issue in 7 days. |
| 58 | +
|
| 59 | +
|
| 60 | + If you have any questions please reach out to us on our [Discord](https://discord.webdriver.io/) |
| 61 | + channel. We are happy to help you out there. |
| 62 | + legit-issue: |
| 63 | + if: github.event.label.name == 'help wanted' |
| 64 | + runs-on: ubuntu-latest |
| 65 | + permissions: |
| 66 | + issues: write |
| 67 | + steps: |
| 68 | + - name: Add comment if more information is needed |
| 69 | + run: gh issue comment "$NUMBER" --body "$BODY" |
| 70 | + env: |
| 71 | + GH_REPO: ${{ github.repository }} |
| 72 | + NUMBER: ${{ github.event.issue.number }} |
| 73 | + BODY: > |
| 74 | + Thanks for reporting! |
| 75 | +
|
| 76 | +
|
| 77 | + We greatly appreciate any contributions that help resolve the bug. While we understand |
| 78 | + that active contributors have their own priorities, we kindly request your assistance |
| 79 | + if you rely on this bug being fixed. We encourage you to take a look at our |
| 80 | + [contribution guidelines](https://github.com/webdriverio/vscode-webdriverio/blob/main/CONTRIBUTION.md) or join our friendly |
| 81 | + [Discord](http://discord.webdriver.io/) development server, where you can ask any |
| 82 | + questions you may have. Thank you for your support, and cheers! |
0 commit comments