Skip to content

Commit 595c3d1

Browse files
committed
testing the second workflow
1 parent 699c9cc commit 595c3d1

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

.github/workflows/leave-comment.yml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
name: Compare Build Outputs
22

33
on:
4-
workflow_run:
5-
workflows: ['Generate Docs']
6-
types: [completed]
4+
pull_request:
5+
# workflow_run:
6+
# workflows: ['Generate Docs']
7+
# types: [completed]
78

89
permissions:
910
contents: read
@@ -23,7 +24,7 @@ jobs:
2324
- name: Download all comparison artifacts
2425
uses: actions/download-artifact@018cc2cf5baa6db3ef3c5f8a56943fffe632ef53 # v6.0.0
2526
with:
26-
run-id: ${{ github.event.workflow_run.id }}
27+
run-id: 20274890876
2728
github-token: ${{ secrets.GITHUB_TOKEN }}
2829
path: results
2930

@@ -47,4 +48,4 @@ jobs:
4748
with:
4849
comment-tag: compared
4950
message: ${{ steps.combine.outputs.combined }}
50-
pr-number: ${{ github.event.workflow_run.pull_requests[0].number }}
51+
pr-number: ${{ github.event.pull_request.number }}

0 commit comments

Comments
 (0)