Skip to content
name: GitHub Actions Demo
on:
issue_comment:
types: [created]
jobs:
demo:
runs-on: ubuntu-latest
steps:
- name: Fetch Comment
run: echo "comment=${{ github.event.comment.body }}" >> $GITHUB_ENV
- name: Echo Comment
run: |
echo "Comment: $comment"
env:
comment: ${{ env.comment }}