Lock down repository #364
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: 'Lock down repository' | |
on: | |
issues: | |
types: opened | |
pull_request: | |
types: opened | |
schedule: | |
- cron: '0 * * * *' | |
jobs: | |
lockdown: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: dessant/repo-lockdown@v2 | |
with: | |
github-token: ${{ github.token }} | |
exclude-pr-created-before: '2020-12-08' | |
close-issue: false | |
process-only: prs | |
pr-comment: > | |
This repository does not accept pull requests anymore. | |
Please create your PR at https://github.com/pnp/powershell | |
skip-closed-issue-comment: true | |
skip-closed-pr-comment: true |