Skip to content

Commit

Permalink
comment
Browse files Browse the repository at this point in the history
  • Loading branch information
clement2026 committed Sep 24, 2024
1 parent d8be922 commit af3d559
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions .github/workflows/comment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,13 @@ jobs:
permissions: write-all
runs-on: ubuntu-latest
steps:
- name: echo
run: echo "# comment" >> "$GITHUB_STEP_SUMMARY"
- name: print md
id: set_content
run: |
CONTENT="abc"
echo $CONTENT >> "$GITHUB_STEP_SUMMARY"
echo "EOL" >> "$GITHUB_STEP_SUMMARY"
echo "::set-output name=content::$CONTENT"
- name: 'comment PR'
uses: actions/github-script@v7
with:
Expand All @@ -24,5 +29,5 @@ jobs:
issue_number: context.issue.number,
owner: context.repo.owner,
repo: context.repo.repo,
body: '👋 Thanks for reporting!'
body: `${{ steps.set_content.outputs.content }}`
})

0 comments on commit af3d559

Please sign in to comment.