-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'release-2.0.0' of github.com:pantheon-systems/pantheon-…
…advanced-page-cache into release-2.0.0
- Loading branch information
Showing
9 changed files
with
68 additions
and
34 deletions.
There are no files selected for viewing
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
This file was deleted.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
name: Composer and NPM Package Diff | ||
on: | ||
pull_request: | ||
paths: | ||
- 'composer.lock' | ||
# - 'package-lock.json' | ||
permissions: | ||
contents: write | ||
pull-requests: write | ||
jobs: | ||
composer-diff: | ||
name: Composer Diff | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
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: | | ||
<strong>Composer Changes</strong> | ||
${{ steps.composer_diff.outputs.composer_diff }} | ||
# Removing because the workflow fails for some unknown reason, see https://github.com/pantheon-systems/pantheon-advanced-page-cache/actions/runs/9228002744/job/25391128483 | ||
# There's no support for this action, so we might need to build something new. | ||
# npm-diff: | ||
# name: NPM Lockfile Diff | ||
# runs-on: ubuntu-latest | ||
# continue-on-error: true | ||
# steps: | ||
# - name: Checkout | ||
# uses: actions/checkout@v4 | ||
# with: | ||
# fetch-depth: 0 | ||
# - name: Compile NPM packages | ||
# run: npm ci | ||
# - name: NPM Lockfile Changes | ||
# uses: codepunkt/npm-lockfile-changes@main | ||
# with: | ||
# token: ${{ github.token }} |
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
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
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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
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