Skip to content

Commit

Permalink
add comment
Browse files Browse the repository at this point in the history
  • Loading branch information
mwangggg committed Jul 5, 2024
1 parent 59d822a commit 81e2cc6
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions .github/workflows/container-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -121,13 +121,6 @@ jobs:
contents: read
pull-requests: write
steps:
- name: Create markdown table
id: md-table
uses: petems/[email protected]
with:
csvinput: |
ARCH, IMAGE
amd64, ${{ env.image }}
- uses: actions/github-script@v7
id: get_pr_data
with:
Expand All @@ -139,8 +132,15 @@ jobs:
repo: context.repo.repo,
})
).data[0];
- uses: mshick/add-pr-comment@v2
- name: Create markdown table
id: md-table
uses: petems/[email protected]
with:
csvinput: |
ARCH, IMAGE
amd64, ${{ env.image }}
- uses: thollander/actions-comment-pull-request@v2
with:
issue: ${{ fromJson(steps.get_pr_data.outpus.result).number }}
pr_number: ${{ fromJson(steps.get_pr_data.output.result).number }}
message: |-
${{ steps.md-table.outputs.markdown-table }}

0 comments on commit 81e2cc6

Please sign in to comment.