File tree Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change 28
28
working-directory : ./phpstan-src
29
29
run : " composer install --no-interaction --no-progress --no-suggest"
30
30
31
+ - name : " Get old version"
32
+ working-directory : ./phpstan-src
33
+ id : old-version
34
+ run : echo "version=$(composer info phpstan/php-8-stubs --format json | jq --raw-output '.versions[0]')" >> $GITHUB_OUTPUT
35
+
31
36
- name : " Change composer.json"
32
37
working-directory : ./phpstan-src
33
38
run : " composer require phpstan/php-8-stubs:${{ github.ref_name }}"
40
45
path : ./phpstan-src
41
46
branch-suffix : random
42
47
delete-branch : true
43
- title : " Update PHP 8 stubs"
44
- body : " Update PHP 8 stubs to ${{ github.ref_name }}"
48
+ title : " Update PHP 8 stubs to ${{ github.ref_name }} "
49
+ body : " Update PHP 8 stubs to ${{ github.ref_name }}: https://github.com/phpstan/php-8-stubs/compare/${{ steps.old-version.outputs.version }}...${{ github.ref_name }} "
45
50
committer :
" phpstan-bot <[email protected] >"
46
51
commit-message : " Update PHP 8 stubs"
You can’t perform that action at this time.
0 commit comments