Skip to content

Commit

Permalink
[GHA] Using PR auto closer on rector/rector (#80)
Browse files Browse the repository at this point in the history
* [GHA] Using PR auto closer on rector/rector

* word

* try with ${{ secrets.ACCESS_TOKEN }}
  • Loading branch information
samsonasik authored and TomasVotruba committed May 20, 2021
1 parent 7a57da4 commit 9e0272e
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions build/target-repository/.github/workflows/auto_closer.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
name: Autocloser
on: [pull_request]
jobs:
autoclose:
runs-on: ubuntu-latest
steps:
- name: Autoclose pull request
uses: roots/[email protected]
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).

0 comments on commit 9e0272e

Please sign in to comment.