Loading .github/workflows/needinfo-remove.yml +7 −0 Original line number Diff line number Diff line Loading @@ -23,3 +23,10 @@ jobs: curl --request DELETE \ --url 'https://api.github.com/repos/${{ github.repository }}/issues/${{ github.event.issue.number }}/labels/status%3A%20needs%20information' \ --header 'Authorization: token ${{ secrets.GITHUB_TOKEN }}' - name: Add answered label run: | curl --request POST \ --url 'https://api.github.com/repos/${{ github.repository }}/issues/${{ github.event.issue.number }}/labels' \ --header 'Authorization: token ${{ secrets.GITHUB_TOKEN }}' \ --header 'Content-Type: application/json' \ --data '{"labels": ["status: answered"]}' Loading
.github/workflows/needinfo-remove.yml +7 −0 Original line number Diff line number Diff line Loading @@ -23,3 +23,10 @@ jobs: curl --request DELETE \ --url 'https://api.github.com/repos/${{ github.repository }}/issues/${{ github.event.issue.number }}/labels/status%3A%20needs%20information' \ --header 'Authorization: token ${{ secrets.GITHUB_TOKEN }}' - name: Add answered label run: | curl --request POST \ --url 'https://api.github.com/repos/${{ github.repository }}/issues/${{ github.event.issue.number }}/labels' \ --header 'Authorization: token ${{ secrets.GITHUB_TOKEN }}' \ --header 'Content-Type: application/json' \ --data '{"labels": ["status: answered"]}'