mirror of
https://github.com/ivuorinen/bbcodeparser.git
synced 2026-01-26 11:23:58 +00:00
GitHub actions, normalization and support for PHP8
This commit is contained in:
29
.github/workflows/composer-diff.yml
vendored
Normal file
29
.github/workflows/composer-diff.yml
vendored
Normal file
@@ -0,0 +1,29 @@
|
||||
name: Composer Diff
|
||||
on:
|
||||
pull_request:
|
||||
paths:
|
||||
- 'composer.lock'
|
||||
jobs:
|
||||
composer-diff:
|
||||
name: Composer Diff
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v2
|
||||
with:
|
||||
fetch-depth: 0 # Required to make it possible to compare with PR base branch
|
||||
|
||||
- name: Generate composer diff
|
||||
id: composer_diff # To reference the output in comment
|
||||
uses: IonBazan/composer-diff-action@v1
|
||||
|
||||
- uses: marocchino/sticky-pull-request-comment@v2
|
||||
with:
|
||||
header: composer-diff # Creates a collapsed comment with the report
|
||||
message: |
|
||||
<details>
|
||||
<summary>Composer package changes</summary>
|
||||
|
||||
${{ steps.composer_diff.outputs.composer_diff }}
|
||||
|
||||
</details>
|
||||
Reference in New Issue
Block a user