Add files via upload #166
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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!' | |
}) |