Skip to content

Commit f43037f

Browse files
authored
fix(ci): don't always post comments in PRs from integration tests nightly (#4477)
1 parent 6c08f89 commit f43037f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/test_nightly.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ env:
2323

2424
jobs:
2525
post-comment-in-pr:
26-
if: github.event.pull_request.number != ''
26+
if: (contains(github.event.*.labels.*.name, 'ci/run-nightly') || github.event_name == 'workflow_dispatch') && github.event.pull_request.number != ''
2727
runs-on: ubuntu-latest
2828
env:
2929
GH_TOKEN: ${{ secrets.K8S_TEAM_BOT_GH_PAT }}

0 commit comments

Comments
 (0)