CI Only adds help wanted when issue gets unassigned
name: Unassign
-#Runs when a contributor has unassigned themselves from the issue and adds 'help wanted' and 'stalled' tags
+#Runs when a contributor has unassigned themselves from the issue and adds 'help wanted'
on:
issues:
types: unassigned
@@ -10,5 +10,5 @@ jobs:
steps:
- name:
run: |
- echo "Marking issue ${{ github.event.issue.number }} as stalled"
- curl -H "Authorization: token ${{ secrets.GITHUB_TOKEN }}" -d '{"labels": ["help wanted","Stalled"]}' https://api.github.com/repos/${{ github.repository }}/issues/${{ github.event.issue.number }}/labels
+ echo "Marking issue ${{ github.event.issue.number }} as help wanted"
+ curl -H "Authorization: token ${{ secrets.GITHUB_TOKEN }}" -d '{"labels": ["help wanted"]}' https://api.github.com/repos/${{ github.repository }}/issues/${{ github.event.issue.number }}/labels
