mirror of
https://github.com/peter-evans/create-or-update-comment.git
synced 2025-01-18 19:22:44 +08:00
Remove workflows
This commit is contained in:
parent
a3cfeddd99
commit
c7f363b6c7
33
.github/workflows/create-comment.yml
vendored
33
.github/workflows/create-comment.yml
vendored
@ -1,33 +0,0 @@
|
||||
name: Create Comment
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
jobs:
|
||||
createComment:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
|
||||
# For debugging purposes. Remove this in production.
|
||||
- name: Dump GitHub context
|
||||
env:
|
||||
GITHUB_CONTEXT: ${{ toJson(github) }}
|
||||
run: echo "$GITHUB_CONTEXT"
|
||||
|
||||
- name: Create comment
|
||||
uses: ./
|
||||
id: couc
|
||||
with:
|
||||
issue-number: 1
|
||||
body: |
|
||||
This is a multi-line test comment
|
||||
- With GitHub **Markdown**
|
||||
- Created by [create-or-update-comment][1]
|
||||
|
||||
[1]: https://github.com/peter-evans/create-or-update-comment
|
||||
reaction-type: '+1'
|
||||
|
||||
- name: Check outputs
|
||||
run: |
|
||||
echo "Comment ID - ${{ steps.couc.outputs.comment-id }}"
|
31
.github/workflows/update-comment.yml
vendored
31
.github/workflows/update-comment.yml
vendored
@ -1,31 +0,0 @@
|
||||
name: Update Comment
|
||||
on:
|
||||
issue_comment:
|
||||
types: [created]
|
||||
jobs:
|
||||
updateComment:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
|
||||
# For debugging purposes. Remove this in production.
|
||||
- name: Dump GitHub context
|
||||
env:
|
||||
GITHUB_CONTEXT: ${{ toJson(github) }}
|
||||
run: echo "$GITHUB_CONTEXT"
|
||||
|
||||
- name: Update comment
|
||||
if: github.event.issue.number == 1
|
||||
uses: ./
|
||||
with:
|
||||
comment-id: ${{ github.event.comment.id }}
|
||||
body: |
|
||||
**Edit:** Some additional info
|
||||
reaction-type: eyes
|
||||
|
||||
- name: Add reaction
|
||||
if: github.event.issue.number == 1
|
||||
uses: ./
|
||||
with:
|
||||
comment-id: ${{ github.event.comment.id }}
|
||||
reaction-type: heart
|
Loading…
x
Reference in New Issue
Block a user