From a1f8994c9466b0dfcd050fe8f3d815fbc11143e5 Mon Sep 17 00:00:00 2001 From: javalsai Date: Tue, 20 Aug 2024 19:26:50 +0200 Subject: [PATCH] mod(actions): add cooldown action --- .github/workflows/cooldown.yml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 .github/workflows/cooldown.yml diff --git a/.github/workflows/cooldown.yml b/.github/workflows/cooldown.yml new file mode 100644 index 0000000..a9ab818 --- /dev/null +++ b/.github/workflows/cooldown.yml @@ -0,0 +1,20 @@ +name: Issues +on: + issue_comment: + types: [created] + issues: + types: [opened] + +jobs: + cooldown: + name: Cooldown + runs-on: ubuntu-latest + continue-on-error: true + steps: + - name: Cooldown + uses: osy/github-cooldown-action@v1 + with: + token: ${{ secrets.GITHUB_TOKEN }} + cooldownMinutes: 15 + maxNewIssues: 2 + maxNewComments: 15