From 86456e2ea3ec2dcaa9727de50474ce636eb5c984 Mon Sep 17 00:00:00 2001 From: josefaidt Date: Thu, 7 Dec 2023 12:19:05 -0800 Subject: [PATCH] add issue pending response action --- .github/workflows/issue-pending-response.yml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 .github/workflows/issue-pending-response.yml diff --git a/.github/workflows/issue-pending-response.yml b/.github/workflows/issue-pending-response.yml new file mode 100644 index 0000000..5b5bab7 --- /dev/null +++ b/.github/workflows/issue-pending-response.yml @@ -0,0 +1,15 @@ +name: issue-pending-response +on: + issue_comment: + types: [created] +permissions: + issues: write +jobs: + issue_commented: + if: ${{ !github.event.issue.pull_request && contains(github.event.issue.labels.*.name, 'pending-response') }} + runs-on: ubuntu-latest + steps: + - uses: siegerts/pending-author-response@409a63bf27370ba9a0e98e8d5fbda7a12398d456 # version 1.0.0 + with: + github-token: ${{ secrets.GITHUB_TOKEN }} + pending-response-label: pending-response