diff --git a/.github/no-response.yml b/.github/no-response.yml deleted file mode 100644 index 3ae80668434..00000000000 --- a/.github/no-response.yml +++ /dev/null @@ -1,12 +0,0 @@ -# Configuration for probot-no-response - https://github.com/probot/no-response - -# Number of days of inactivity before an Issue is closed for lack of response -daysUntilClose: 21 -# Label requiring a response -responseRequiredLabel: "Needs: Author Feedback" -# Comment to post when closing an Issue for lack of response. Set to `false` to disable -closeComment: > - It's been three weeks since we asked for additional information from the - author of this issue. As it happens, we don't have enough information to - take action. We are going to close this issue, but please do not hesitate - to open a new issue if you are still encountering this problem. diff --git a/.github/workflows/needs-attention.yml b/.github/workflows/needs-attention.yml new file mode 100644 index 00000000000..e5c1a979653 --- /dev/null +++ b/.github/workflows/needs-attention.yml @@ -0,0 +1,21 @@ +name: Issue Needs Attention +# This workflow is triggered on issue comments. +on: + issue_comment: + types: created + +jobs: + applyNeedsAttentionLabel: + name: Apply Needs Attention Label + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - name: Apply Needs Attention Label + uses: hramos/needs-attention@v1 + with: + repo-token: ${{ secrets.GITHUB_TOKEN }} + response-required-label: "Needs: Author Feedback" + needs-attention-label: "Needs: Attention" + id: needs-attention + - name: Result + run: echo '${{ steps.needs-attention.outputs.result }}'