Skip to content

Commit

Permalink
Issue checkstyle#15412: regression-report.yml workflow shall run only…
Browse files Browse the repository at this point in the history
… active PRs
  • Loading branch information
romani committed Aug 3, 2024
1 parent 08298c9 commit d325ed0
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/regression-report.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,10 @@ concurrency:

jobs:
check_pr_status:
if: |
github.event.issue.pull_request
&& (startsWith(github.event.comment.body, 'Github, generate report for ')
|| startsWith(github.event.comment.body, 'GitHub, generate report for '))
runs-on: ubuntu-latest
steps:
- name: Check PR status
Expand All @@ -47,10 +51,6 @@ jobs:
fi
parse_comment:
if: |
github.event.issue.pull_request
&& (startsWith(github.event.comment.body, 'Github, generate report for ')
|| startsWith(github.event.comment.body, 'GitHub, generate report for '))
runs-on: ubuntu-latest
needs: check_pr_status
outputs:
Expand Down

0 comments on commit d325ed0

Please sign in to comment.