Skip to content

Commit ab4b66c

Browse files
committed
Create workflow
1 parent 9091dec commit ab4b66c

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
name: GitHub Actions Demo
2+
3+
on:
4+
issue_comment:
5+
types: [created]
6+
7+
jobs:
8+
demo:
9+
runs-on: ubuntu-latest
10+
steps:
11+
- name: Fetch Comment
12+
run: echo "comment=${{ github.event.comment.body }}" >> $GITHUB_ENV
13+
14+
- name: Echo Comment
15+
run: |
16+
echo "Comment: $comment"
17+
env:
18+
comment: ${{ env.comment }}

0 commit comments

Comments
 (0)