We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b0cfacf commit 44d041cCopy full SHA for 44d041c
.github/workflows/send-pr.yml
@@ -33,6 +33,7 @@ jobs:
33
run: "composer require phpstan/php-8-stubs:$GITHUB_REF_NAME"
34
35
- name: "Create Pull Request"
36
+ id: create-pr
37
uses: peter-evans/create-pull-request@v3
38
with:
39
token: ${{ secrets.PHPSTAN_BOT_TOKEN }}
@@ -43,3 +44,11 @@ jobs:
43
44
body: "Update PHP 8 stubs to ${{ env.GITHUB_REF_NAME }}"
45
committer: "phpstan-bot <ondrej+phpstanbot@mirtes.cz>"
46
commit-message: "Update PHP 8 stubs"
47
+
48
+ - name: "Enable Pull Request Automerge"
49
+ if: steps.create-pr.outputs.pull-request-operation == 'created'
50
+ uses: peter-evans/enable-pull-request-automerge@v1
51
+ with:
52
+ token: ${{ secrets.PHPSTAN_BOT_TOKEN }}
53
+ pull-request-number: ${{ steps.create-pr.outputs.pull-request-number }}
54
+ merge-method: rebase
0 commit comments