0
0
mirror of https://github.com/salesagility/SuiteCRM.git synced 2024-09-16 17:49:01 +00:00
salesagility_SuiteCRM/.github/workflows/add-comment.yml
2024-05-15 15:38:59 +01:00

26 lines
762 B
YAML

name: Add comment
on:
issues:
types:
- labeled
jobs:
add-comment:
if: contains(github.event.label.name, 'Bug')
runs-on: ubuntu-latest
permissions:
issues: write
steps:
- name: Add comment
run: gh issue comment "$NUMBER" --body "$BODY"
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GH_REPO: ${{ github.repository }}
NUMBER: ${{ github.event.issue.number }}
BODY: |
Hey @${{ github.actor }}!
Thanks for contributing to the SuiteCRM project :sparkles:
> **Remember to support your issue by voting!**
Get more information [here](https://docs.suitecrm.com/community/raising-issues/issues-voting/)
reactions: '+1'