From 9e1aae59a41fc6574cf5b093a03159e09697cc73 Mon Sep 17 00:00:00 2001 From: Yasmine Talby <108372980+yasminetalby@users.noreply.github.com> Date: Fri, 25 Aug 2023 09:57:05 +0200 Subject: [PATCH] added workflow for handling answerable discussions (#98) * added workflow for handling answerable discussions * fix * fix --------- Co-authored-by: shailja Co-authored-by: Talby --- .../workflows/handle-stale-discussions.yml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 .github/workflows/handle-stale-discussions.yml diff --git a/.github/workflows/handle-stale-discussions.yml b/.github/workflows/handle-stale-discussions.yml new file mode 100644 index 00000000..5b16398c --- /dev/null +++ b/.github/workflows/handle-stale-discussions.yml @@ -0,0 +1,19 @@ +name: HandleStaleDiscussions +on: + schedule: + - cron: '0 */4 * * *' + discussion_comment: + types: [created] + +jobs: + handle-stale-discussions: + name: Handle stale discussions + runs-on: ubuntu-latest + permissions: + discussions: write + steps: + - name: Stale discussions action + uses: aws-github-ops/handle-stale-discussions@v1 + env: + GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}} +