add medley #8
Workflow file for this run
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: Notify dependency diff | |
on: | |
workflow_dispatch: | |
pull_request: | |
paths: | |
- 'deps.edn' | |
jobs: | |
notify: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 # Required to make it possible to compare with PR base branch | |
- name: Diff dependencies | |
id: diff | |
uses: namenu/deps-diff@main | |
with: | |
format: markdown | |
aliases: "[:test]" | |
- uses: marocchino/sticky-pull-request-comment@v2 | |
# # An empty diff result will break this action. | |
# if: ${{ steps.deps_diff.outputs.exit_code != 0 }} | |
with: | |
header: deps-diff # Creates a collapsed comment with the report | |
message: | | |
### `deps.edn` dependency changes | |
${{ steps.diff.outputs.deps_diff }} |