You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

18 lines
487 B

  1. on:
  2. issues:
  3. types: [opened]
  4. jobs:
  5. comment:
  6. runs-on: ubuntu-latest
  7. steps:
  8. - uses: actions/github-script@v3
  9. if: contains(github.event.issue.body, 'Environment') == false
  10. with:
  11. script: |
  12. github.issues.createComment({
  13. issue_number: context.issue.number,
  14. owner: context.repo.owner,
  15. repo: context.repo.repo,
  16. body: 'Would you write your environment? Thank you!'
  17. })