Skip to content

Commit

Permalink
Create workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
kapforty committed Nov 12, 2024
1 parent 9091dec commit ab4b66c
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/github-actions-demo.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
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 }}

0 comments on commit ab4b66c

Please sign in to comment.