Browse Source

Add issue comment action

pull/1273/head
Hironsan 3 years ago
parent
commit
51288ae282
1 changed files with 18 additions and 0 deletions
  1. 18
      .github/workflows/issue-comment.yml

18
.github/workflows/issue-comment.yml

@ -0,0 +1,18 @@
on:
issues:
types: [opened]
jobs:
comment:
runs-on: ubuntu-latest
steps:
- uses: actions/github-script@v3
if: contains(github.event.issue.body, 'Environment') == false
with:
script: |
github.issues.createComment({
issue_number: context.issue.number,
owner: context.repo.owner,
repo: context.repo.repo,
body: 'Would you write your environment? Thank you!'
})
Loading…
Cancel
Save