Skip to content

Add mqttlibrary to the conda-forge #177

Add mqttlibrary to the conda-forge

Add mqttlibrary to the conda-forge #177

name: do_not_edit_example
on:
pull_request_target:
paths:
- 'recipes/example/meta.yaml'
jobs:
comment:
name: Notify user about not editing example recipe
runs-on: "ubuntu-latest"
steps:
- uses: actions/checkout@v2
- name: Comment on PR
uses: actions/github-script@v6
with:
script: |
github.rest.issues.createComment({
issue_number: context.issue.number,
owner: context.repo.owner,
repo: context.repo.repo,
body: 'Hi! Thanks for your contribution to conda-forge.' +
'\nWhen submitting a pull request, please do not change anything in the example recipe.\n' +
'Please make sure that any changes are reverted before you submit it for review.\n' +
'Thanks!'
})