diff --git a/build/target-repository/.github/workflows/auto_closer.yaml b/build/target-repository/.github/workflows/auto_closer.yaml new file mode 100644 index 00000000000..c1db6126a7b --- /dev/null +++ b/build/target-repository/.github/workflows/auto_closer.yaml @@ -0,0 +1,13 @@ +name: Autocloser +on: [pull_request] +jobs: + autoclose: + runs-on: ubuntu-latest + steps: + - name: Autoclose pull request + uses: roots/issue-closer@v1.1 + with: + repo-token: ${{ secrets.ACCESS_TOKEN }} + pr-pattern: "^exact-string-will-never-match$" + pr-close-message: | + This repository content is generated by rectorphp/rector-src. Please open pull request to [rectorphp/rector-src](https://github.com/rectorphp/rector-src).