mirror of
https://github.com/javalsai/lidm.git
synced 2025-07-03 14:25:03 +02:00
mod(actions): add cooldown action
This commit is contained in:
parent
2bcc3f71cc
commit
a1f8994c94
20
.github/workflows/cooldown.yml
vendored
Normal file
20
.github/workflows/cooldown.yml
vendored
Normal 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
|
Loading…
x
Reference in New Issue
Block a user