mirror of https://github.com/nicolargo/glances.git
Add needs contributor workflow to Github actions
This commit is contained in:
parent
986c865718
commit
7cffdcbff7
|
|
@ -0,0 +1,22 @@
|
||||||
|
name: Add a message when needs contributor tag is used
|
||||||
|
on:
|
||||||
|
issues:
|
||||||
|
types:
|
||||||
|
- labeled
|
||||||
|
jobs:
|
||||||
|
add-comment:
|
||||||
|
if: github.event.label.name == 'needs contributor'
|
||||||
|
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: >
|
||||||
|
This issue is available for anyone to work on.
|
||||||
|
**Make sure to reference this issue in your pull request.**
|
||||||
|
:sparkles: Thank you for your contribution ! :sparkles:
|
||||||
Loading…
Reference in New Issue