From 5edf01e0de09a0848abc94f83ab58530310ad939 Mon Sep 17 00:00:00 2001 From: shuzijun Date: Sun, 31 Jul 2022 14:34:34 +0800 Subject: [PATCH 1/2] Create no-response.yml --- .github/workflows/no-response.yml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 .github/workflows/no-response.yml diff --git a/.github/workflows/no-response.yml b/.github/workflows/no-response.yml new file mode 100644 index 0000000..7fc271d --- /dev/null +++ b/.github/workflows/no-response.yml @@ -0,0 +1,22 @@ +name: No Response + +# Both `issue_comment` and `scheduled` event types are required for this Action +# to work properly. +on: + issue_comment: + types: [created] + schedule: + # Schedule for five minutes after the hour, every hour + - cron: '5 * * * *' + workflow_dispatch: + +permissions: + issues: write + +jobs: + noResponse: + runs-on: ubuntu-latest + steps: + - uses: lee-dohm/no-response@v0.5.0 + with: + token: ${{ github.token }} From 5f5d5bbcda34696a0b262eb10c52a4daf18dad16 Mon Sep 17 00:00:00 2001 From: shuzijun Date: Sun, 31 Jul 2022 14:41:52 +0800 Subject: [PATCH 2/2] Update no-response.yml --- .github/workflows/no-response.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/no-response.yml b/.github/workflows/no-response.yml index 7fc271d..45d2e70 100644 --- a/.github/workflows/no-response.yml +++ b/.github/workflows/no-response.yml @@ -9,6 +9,10 @@ on: # Schedule for five minutes after the hour, every hour - cron: '5 * * * *' workflow_dispatch: + inputs: + version: + description: 'Release version' + required: false permissions: issues: write