diff options
author | nicolargo <nicolashennion@gmail.com> | 2024-06-15 09:44:05 +0200 |
---|---|---|
committer | nicolargo <nicolashennion@gmail.com> | 2024-06-15 09:44:05 +0200 |
commit | 7cffdcbff758eb24385f662e879313a89cbb3f9e (patch) | |
tree | e862a530767e39703940763976e586e525c58268 | |
parent | 986c8657181735baed9583aa1e517935446051ff (diff) |
Add needs contributor workflow to Github actions
-rw-r--r-- | .github/workflows/needs_contributor.yml | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/.github/workflows/needs_contributor.yml b/.github/workflows/needs_contributor.yml new file mode 100644 index 00000000..b9a5bb8b --- /dev/null +++ b/.github/workflows/needs_contributor.yml @@ -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:
\ No newline at end of file |