Skip to content

WIP on gha/int1

WIP on gha/int1 #4

Workflow file for this run

name: test-comment
on:
issue_comment:
types: [created]
jobs:
pr_commented:
# This job only runs for pull request comments
name: PR comment
if: ${{ github.event.issue.pull_request }}
runs-on: ubuntu-latest
steps:
- run: |
echo A comment on PR $NUMBER - $PR_COMMENT - $GITHUB_REF
env:
NUMBER: ${{ github.event.issue.number }}
PR_COMMENT: ${{ github.event.comment.body }}
issue_commented:
# This job only runs for issue comments
name: Issue comment
if: ${{ !github.event.issue.pull_request }}
runs-on: ubuntu-latest
steps:
- run: |
echo A comment on issue $NUMBER
env:
NUMBER: ${{ github.event.issue.number }}