[Question] How to fix the issue of control CIS-5.1.5 #143
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: 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 GitHub Actions / PR Comment TriggerInvalid workflow file
|
||
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" |