Formatting, phpcs.xml

This commit is contained in:
Ismo Vuorinen
2023-03-09 14:21:23 +02:00
parent 69e385b4ad
commit 12350f6c0a
8 changed files with 330 additions and 238 deletions

View File

@@ -2,7 +2,7 @@ name: Composer Diff
on:
pull_request:
paths:
- 'composer.lock'
- "composer.lock"
jobs:
composer-diff:
name: Composer Diff
@@ -11,17 +11,20 @@ jobs:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0 # Required to make it possible to compare with PR base branch
# Required to make it possible to compare with PR base branch
fetch-depth: 0
- name: Generate composer diff
id: composer_diff # To reference the output in comment
# To reference the output in comment
id: composer_diff
uses: IonBazan/composer-diff-action@v1
- uses: marocchino/sticky-pull-request-comment@v2
# An empty diff result will break this action.
if: ${{ steps.composer_diff.outputs.composer_diff_exit_code != 0 }}
with:
header: composer-diff # Creates a collapsed comment with the report
# Creates a collapsed comment with the report
header: composer-diff
message: |
<details>
<summary>Composer package changes</summary>

View File

@@ -2,9 +2,9 @@ name: PHP Composer
on:
push:
branches: [ master ]
branches: [master]
pull_request:
branches: [ master ]
branches: [master]
jobs:
build: