Autoclose #158
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: Autoclose | |
on: [issues, pull_request] | |
jobs: | |
autoclose: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Autoclose | |
uses: roots/issue-closer@v1.1 | |
with: | |
issue-pattern: ^$ | |
issue-close-message: | | |
Thank you for your contribution. | |
Unfortunately, you have created your issue in the wrong repository, as this is a read-only split repository. Please go to https://github.com/contao/contao and create your issue there. | |
pr-pattern: ^$ | |
pr-close-message: | | |
Thank you for your contribution. | |
Unfortunately, you have created your pull request in the wrong repository, as this is a read-only split repository. Please go to https://github.com/contao/contao and create your pull request there. | |
repo-token: ${{ secrets.GITHUB_TOKEN }} |