Repo Lockdown #57
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: 'Repo Lockdown' | |
on: | |
issues: | |
types: opened | |
pull_request_target: | |
types: opened | |
# remover schedule depois da primeira execução | |
schedule: | |
- cron: '0 * * * *' | |
permissions: | |
issues: write | |
pull-requests: write | |
jobs: | |
action: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: dessant/repo-lockdown@v3 | |
with: | |
exclude-issue-created-before: '2024-03-11T00:00:00-03:00' | |
exclude-pr-created-before: '2024-03-11T00:00:00-03:00' | |
exclude-pr-labels: 'fora-do-prazo' | |
pr-comment: > | |
Sinto muito, sua submissão foi feita após o prazo. | |
PRs enviados após o prazo serão automaticamente fechados. | |
issue-comment: > | |
Sinto muito, mas o repo não está aceitando mais issues. |