From 2516b26a9217eda0c7781ca31e8a10c17aa928d8 Mon Sep 17 00:00:00 2001 From: Daniel Lu Date: Mon, 21 Mar 2022 10:44:39 -0700 Subject: [PATCH 1/2] adding test workflow --- .github/workflows/pr-comment.yaml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 .github/workflows/pr-comment.yaml diff --git a/.github/workflows/pr-comment.yaml b/.github/workflows/pr-comment.yaml new file mode 100644 index 00000000000..993a5ba6dcf --- /dev/null +++ b/.github/workflows/pr-comment.yaml @@ -0,0 +1,16 @@ +name: PR comment +on: issue_comment + +jobs: + pr_commented: + name: PR comment workflow + if: ${{ github.event.issue.pull_request }} + runs-on: ubuntu-latest + steps: + - name: What is the comment + run: | + echo "Comment on PR #${{ github.event.comment.body }}" + - name: Comment contains trigger + if: contains(github.event.comment.body, 'test comment') + run: | + echo "Comment on PR #${{ github.event.issue.number }}" From 26f2fbaeb178ee3343f54abc83fc6a6be26321ff Mon Sep 17 00:00:00 2001 From: Daniel Lu Date: Mon, 21 Mar 2022 10:51:35 -0700 Subject: [PATCH 2/2] test empty commit