Skip to content

Commit

Permalink
feat: testing
Browse files Browse the repository at this point in the history
  • Loading branch information
buroa committed Dec 31, 2024
1 parent 4ddd3aa commit 55aad44
Showing 1 changed file with 13 additions and 2 deletions.
15 changes: 13 additions & 2 deletions .github/workflows/flux-diff.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,18 @@ jobs:
- name: Generate Diff
id: diff
run: echo diff="$(cat diff.patch)" >> $GITHUB_OUTPUT
run: |
{
echo 'diff<<EOF'
cat diff.patch
echo EOF
} >> $GITHUB_OUTPUT
{
echo "### Diff"
echo '```diff'
cat diff.patch
echo '```'
} >> $GITHUB_STEP_SUMMARY
- if: ${{ steps.diff.outputs.diff != '' }}
name: Add Comment
Expand All @@ -67,7 +78,7 @@ jobs:
repo-token: "${{ steps.app-token.outputs.token }}"
message-id: "${{ github.event.pull_request.number }}/kubernetes/${{ matrix.resources }}"
message-failure: Diff was not successful
message: |
message: |-
```diff
${{ steps.diff.outputs.diff }}
```
Expand Down

0 comments on commit 55aad44

Please sign in to comment.