Skip to content

Commit

Permalink
Updated markdown lint configuration. Added composer diff action.
Browse files Browse the repository at this point in the history
  • Loading branch information
laurentmuller committed May 27, 2024
1 parent e8185f7 commit e320ed2
Show file tree
Hide file tree
Showing 4 changed files with 64 additions and 31 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/composer_diff.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: Composer Diff

on: [ push, pull_request ]

jobs:
build:
runs-on: ubuntu-latest

steps:
- name: Checkout code
uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Generate composer diff
id: composer_diff
uses: IonBazan/composer-diff-action@v1

- uses: marocchino/sticky-pull-request-comment@v2
if: ${{ steps.composer_diff.outputs.composer_diff_exit_code != 0 }}
with:
header: composer-diff
message: |
<details>
<summary>Composer package changes</summary>
${{ steps.composer_diff.outputs.composer_diff }}
</details>
3 changes: 2 additions & 1 deletion .markdownlint-cli2.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
config:
line-length: false
line-length:
code_blocks: false

globs:
- "*.md"
Expand Down
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@

## [Unreleased]

- Updated markdown lint configuration.
- Added composer diff action.

## [2.20.13] - 2024-06-16

- Added markdown configuration file.
Expand Down
60 changes: 30 additions & 30 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit e320ed2

Please sign in to comment.