Skip to content

Commit

Permalink
skip if not starts with /
Browse files Browse the repository at this point in the history
  • Loading branch information
paulgessinger committed Aug 19, 2023
1 parent 38fafd8 commit aea2caf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/pr_commands.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ jobs:
pr_commented:
# This job only runs for pull request comments
name: PR comment
if: ${{ github.event.issue.pull_request }}
if: '${{ github.event.issue.pull_request && startsWidth(github.event.comment.body, "/") }}'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
Expand Down

0 comments on commit aea2caf

Please sign in to comment.