22 строки
830 B
YAML
22 строки
830 B
YAML
|
|
name: run script on changing detections
|
|
on:
|
|
pull_request:
|
|
paths:
|
|
- 'Detection**'
|
|
|
|
jobs:
|
|
add-comment:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: mshick/add-pr-comment@v1
|
|
with:
|
|
message: |
|
|
**Hello how are you I am GitHub bot**
|
|
😀😀
|
|
I see that you changed templates under the detections folder. Did you remember to update the version of the templates you changed?
|
|
If not, and if you want customers to be aware that a new version of this template is available, please update the ``version`` property of the template you changed.
|
|
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
|
repo-token-user-login: 'github-actions[bot]' # The user.login for temporary GitHub tokens
|
|
allow-repeats: false # This is the default
|