Lock old issues and pull requests #269
This file contains hidden or 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 old issues and pull requests" | |
| on: | |
| schedule: | |
| - cron: "0 9 1 * *" | |
| permissions: | |
| # Lock discussions. | |
| discussions: write | |
| # Lock issues. | |
| issues: write | |
| # Lock pull requests. | |
| pull-requests: write | |
| jobs: | |
| lock: | |
| uses: mdn/workflows/.github/workflows/lock-closed.yml@main | |
| with: | |
| target-repo: "mdn/content" |