Skip to content

Commit

Permalink
added workflow for handling answerable discussions (#195)
Browse files Browse the repository at this point in the history
* added workflow for handling answerable discussions

* add extra line

* add extra line

---------

Co-authored-by: shailja <khushail@amazon.com>
Co-authored-by: Dengke Tang <815825145@qq.com>
Co-authored-by: Talby <yastalby@b0be8380182d.ant.amazon.com>
  • Loading branch information
4 people authored Aug 25, 2023
1 parent 9979048 commit b49aea3
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/handle-stale-discussions.yml
Original file line number Diff line number Diff line change
@@ -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}}

0 comments on commit b49aea3

Please sign in to comment.