Skip to content

Creates a readable diff of any changes made to Composer requirements and/or locked packages.

License

Notifications You must be signed in to change notification settings

cs278/composer-rich-diff-action

Repository files navigation

Composer Rich Diff Action

This is a GitHub Action which runs against a pull request and generates a comment documenting the changes to Composer dependencies that are included in the pull request.

Usage

name: Composer Rich Diff

on:
  pull_request:

permissions:
    contents: read
    pull-requests: write

jobs:
  diff:
    name: Generate Diff
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v3
      - uses: cs278/composer-rich-diff-action@v1
        with:
          path: ./composer.json

About

Creates a readable diff of any changes made to Composer requirements and/or locked packages.

Resources

License

Stars

Watchers

Forks

Packages

No packages published