mod(actions): add cooldown action

This commit is contained in:
javalsai 2024-08-20 19:26:50 +02:00
parent 2bcc3f71cc
commit a1f8994c94
Signed by: javalsai
SSH Key Fingerprint: SHA256:3G83yKhBUWVABVX/vPWH88xnK4+ptMtHkZGCRXD4Mk8

20
.github/workflows/cooldown.yml vendored Normal file
View File

@ -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