Copilot commented on code in PR #3083: URL: https://github.com/apache/apisix-dashboard/pull/3083#discussion_r2112994649
########## .github/workflows/e2e.yml: ########## @@ -21,20 +21,22 @@ concurrency: jobs: test: # only run when e2e-test label is added or scheduled - if: ${{ contains(github.event.pull_request.labels.*.name, 'e2e-test') || github.event_name == 'schedule' }} + if: ${{ github.event_name == 'pull_request' && contains(github.event.pull_request.labels.*.name, 'e2e-test') || github.event_name == 'schedule' }} Review Comment: Consider adding explicit parentheses to clarify the intended evaluation order of the condition. For example, group the pull_request condition: ${{ (github.event_name == 'pull_request' && contains(github.event.pull_request.labels.*.name, 'e2e-test')) || github.event_name == 'schedule' }}. ```suggestion if: ${{ (github.event_name == 'pull_request' && contains(github.event.pull_request.labels.*.name, 'e2e-test')) || github.event_name == 'schedule' }} ``` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: notifications-unsubscr...@apisix.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org