mirror of
https://github.com/SableClient/Sable.git
synced 2026-11-20 17:11:17 -08:00
30 lines
926 B
YAML
30 lines
926 B
YAML
name: Dependency diff (comment)
|
|
|
|
on:
|
|
workflow_run:
|
|
workflows: ['Dependency diff (analyze)']
|
|
types:
|
|
- completed
|
|
|
|
jobs:
|
|
dependency-diff-comment:
|
|
name: Dependency diff comment
|
|
runs-on: ubuntu-latest
|
|
if: github.event.workflow_run.conclusion == 'success' && github.event.workflow_run.event == 'pull_request'
|
|
permissions:
|
|
actions: read
|
|
pull-requests: write
|
|
steps:
|
|
- name: Download comment artifact
|
|
uses: actions/download-artifact@634f93cb2916e3fdff6788551b99b062d0335ce0 # v5.0.0
|
|
with:
|
|
github-token: ${{ secrets.GITHUB_TOKEN }}
|
|
name: e18e-diff-result
|
|
run-id: ${{ github.event.workflow_run.id }}
|
|
|
|
- name: Post dependency diff comment
|
|
uses: e18e/action-dependency-diff@5d3c6ac2ad2de2eaca1dc120c5accfd9590764b6 # v1.5.1
|
|
with:
|
|
artifact-path: e18e-diff-result.json
|
|
mode: comment-from-artifact
|