Update PHP 8 stubs to 0.4.0 #271
Workflow file for this run
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
# https://help.github.com/en/categories/automating-your-workflow-with-github-actions | |
name: "Base PR on previous branch" | |
on: | |
pull_request_target: | |
types: | |
- opened | |
branches: | |
- '2.0.x' | |
jobs: | |
comment: | |
name: "Comment on pull request" | |
runs-on: 'ubuntu-latest' | |
steps: | |
- name: Comment PR | |
uses: peter-evans/create-or-update-comment@v4 | |
with: | |
body: "You've opened the pull request against the latest branch 2.0.x. PHPStan 2.0 is not going to be released for months. If your code is relevant on 1.12.x and you want it to be released sooner, please rebase your pull request and change its target to 1.12.x." | |
token: ${{ secrets.PHPSTAN_BOT_TOKEN }} | |
issue-number: ${{ github.event.pull_request.number }} |