Skip to content

Write new text for control input help. #125

Write new text for control input help.

Write new text for control input help. #125

Workflow file for this run

name: PR Comment Trigger
on:
issue_comment:
types: [created]
jobs:
job01:
if: ${{ github.event.issue.pull_request }}
runs-on: [ubuntu-latest]
steps:
- name: Check out code
if: (github.actor == 'kubescape/sonar')
uses: actions/checkout@v3
# trigger system tests - TODO
# trigger release process - TODO
- name: say hello
if: contains(toLower(github.event.comment.body), '/support') && (github.actor == 'kubescape/sonar') # check the comment if it contains the keywords

Check failure on line 17 in .github/workflows/pr-comments.yaml

View workflow run for this annotation

GitHub Actions / PR Comment Trigger

Invalid workflow file

The workflow is not valid. .github/workflows/pr-comments.yaml (Line: 17, Col: 13): Unrecognized function: 'toLower'. Located at position 10 within expression: contains(toLower(github.event.comment.body), '/support') && (github.actor == 'kubescape/sonar')
run: |
echo "Line 14 PR MSG"
- name: test
if: contains(github.event.comment.body, '/test') && (github.actor == 'kubescape/sonar') # check the comment if it contains the keywords
run: |
echo "Line 18 PR MSG"