Skip to content

Commit

Permalink
Update default actions to include PR id in comment id (#230)
Browse files Browse the repository at this point in the history
Add pr id to comments to ensure diffs end up on the right PR.
  • Loading branch information
allenporter authored Jun 10, 2023
1 parent 5dcff4e commit 1782ebf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/flux-local-diff.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:
if: ${{ steps.diff.outputs.diff != '' }}
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
message-id: ${{ matrix.cluster_path }}/${{ matrix.resource }}
message-id: ${{ github.event.pull_request.number }}/${{ matrix.cluster_path }}/${{ matrix.resource }}
message-failure: Unable to post kustomization diff
message: |
`````diff
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -313,7 +313,7 @@ jobs:
if: ${{ steps.diff.outputs.diff != '' }}
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
message-id: ${{ matrix.cluster_path }}/${{ matrix.resource }}
message-id: ${{ github.event.pull_request.number }}/${{ matrix.cluster_path }}/${{ matrix.resource }}
message-failure: Unable to post kustomization diff
message: |
`````diff
Expand Down

0 comments on commit 1782ebf

Please sign in to comment.