chore(deps): update all-major (major) #2810
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Lock File Changes | |
on: [pull_request] | |
jobs: | |
lock_file_changes: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
# pnpm-lock.yaml | |
# TODO: Find a solution for getting pnpm-lock.yaml changes. | |
# composer.lock | |
- name: Generate composer diff | |
id: composer_diff | |
uses: IonBazan/composer-diff-action@v1 | |
with: | |
base: | |
${{ github.event.pull_request.base.sha | |
}}:apps/silverback-drupal/composer.lock | |
target: apps/silverback-drupal/composer.lock | |
- uses: marocchino/sticky-pull-request-comment@v2 | |
if: ${{ steps.composer_diff.outputs.composer_diff }} | |
with: | |
header: composer-diff | |
message: | | |
## `composer.lock` changes | |
<details> | |
<summary>Click to toggle table visibility</summary> | |
${{ steps.composer_diff.outputs.composer_diff }} | |
</details> | |
- uses: marocchino/sticky-pull-request-comment@v2 | |
if: ${{ steps.composer_diff.outputs.composer_diff == 0 }} | |
with: | |
header: composer-diff | |
delete: true |