Alternative implementation idea using comma operator. #2857
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Comment Floodgate | |
on: issue_comment | |
jobs: | |
floodgate: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: js-choi/github-comment-floodgate@v2 | |
with: | |
minutes-in-period: 60 | |
# This number is how many comments are allowed per period per issue. | |
max-comments-per-period: 12 |