Skip to content
This repository has been archived by the owner on Jul 25, 2023. It is now read-only.

fix(deps): update mavencentral.dagger to v2.47 #1257

fix(deps): update mavencentral.dagger to v2.47

fix(deps): update mavencentral.dagger to v2.47 #1257

Workflow file for this run

name: Generate dependency diff
on:
pull_request
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: ${{ github.ref != 'refs/heads/master' }}
jobs:
generate-diff:
env:
github_token: ${{ secrets.GITHUB_TOKEN }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- uses: actions/setup-java@v3
with:
distribution: 'temurin'
java-version: 20
- uses: gradle/gradle-build-action@v2
- id: dependency-diff
if: github.event_name == 'pull_request'
uses: usefulness/dependency-tree-diff-action@v1
with:
configuration: releaseRuntimeClasspath
- uses: peter-evans/find-comment@v2
if: github.event_name == 'pull_request'
id: find_comment
with:
issue-number: ${{ github.event.pull_request.number }}
body-includes: Dependency diff
- uses: peter-evans/create-or-update-comment@v3
if: ${{ steps.dependency-diff.outputs.text-diff != null || steps.find_comment.outputs.comment-id != null }}
with:
body: |
Dependency diff:
```diff
${{ steps.dependency-diff.outputs.text-diff }}
```
edit-mode: replace
comment-id: ${{ steps.find_comment.outputs.comment-id }}
issue-number: ${{ github.event.pull_request.number }}
token: ${{ secrets.GITHUB_TOKEN }}