Skip to content

Commit

Permalink
Add github action to show composer.lock diff on update (#73)
Browse files Browse the repository at this point in the history
  • Loading branch information
Gared authored Nov 6, 2024
1 parent 98333c6 commit b045890
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/composer.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Composer Diff
on:
pull_request_target:
types:
- opened
- synchronize
- reopened
permissions:
pull-requests: write
contents: read
jobs:
comment-composer-lock-diff:
name: Comment composer.lock diff
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
ref: ${{ github.event.pull_request.head.sha }}
fetch-depth: 0
- name: Comment composer.lock diff
uses: WyriHaximus/github-action-composer.lock-diff@v2
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit b045890

Please sign in to comment.