diff --git a/.github/workflows/report_failures_nightly-testing.yml b/.github/workflows/report_failures_nightly-testing.yml index bdbd87881..edeeb9168 100644 --- a/.github/workflows/report_failures_nightly-testing.yml +++ b/.github/workflows/report_failures_nightly-testing.yml @@ -21,7 +21,7 @@ jobs: api-key: ${{ secrets.ZULIP_API_KEY }} email: 'github-mathlib4-bot@leanprover.zulipchat.com' organization-url: 'https://leanprover.zulipchat.com' - to: 'nightly-testing' + to: 'nightly-testing-cslib' type: 'stream' topic: 'Cslib status updates' content: | @@ -101,7 +101,7 @@ jobs: 'num_before': 1, 'num_after': 0, 'narrow': [ - {'operator': 'stream', 'operand': 'nightly-testing'}, + {'operator': 'stream', 'operand': 'nightly-testing-cslib'}, {'operator': 'topic', 'operand': 'Cslib status updates'}, {'operator': 'sender', 'operand': bot_email} ], @@ -113,7 +113,7 @@ jobs: # Post the success message request = { 'type': 'stream', - 'to': 'nightly-testing', + 'to': 'nightly-testing-cslib', 'topic': 'Cslib status updates', 'content': f"✅ The latest CI for Cslib's [nightly-testing branch](https://github.com/leanprover/cslib/tree/nightly-testing) has succeeded! ([{os.getenv('SHA')}](https://github.com/${{ github.repository }}/commit/{os.getenv('SHA')}))" } @@ -250,7 +250,7 @@ jobs: api-key: ${{ secrets.ZULIP_API_KEY }} email: 'github-mathlib4-bot@leanprover.zulipchat.com' organization-url: 'https://leanprover.zulipchat.com' - to: 'nightly-testing' + to: 'nightly-testing-cslib' type: 'stream' topic: 'Cslib status updates' content: | @@ -350,7 +350,7 @@ jobs: 'num_before': 1, 'num_after': 0, 'narrow': [ - {'operator': 'stream', 'operand': 'nightly-testing'}, + {'operator': 'stream', 'operand': 'nightly-testing-cslib'}, {'operator': 'topic', 'operand': 'Cslib bump branch reminders'}, {'operator': 'sender', 'operand': bot_email} ], @@ -388,7 +388,7 @@ jobs: # Post the reminder message request = { 'type': 'stream', - 'to': 'nightly-testing', + 'to': 'nightly-testing-cslib', 'topic': 'Cslib bump branch reminders', 'content': payload } diff --git a/scripts/create-adaptation-pr.sh b/scripts/create-adaptation-pr.sh index 01587009c..47b1ee2a1 100755 --- a/scripts/create-adaptation-pr.sh +++ b/scripts/create-adaptation-pr.sh @@ -203,13 +203,13 @@ if git diff --name-only bump/"$BUMPVERSION" bump/nightly-"$NIGHTLYDATE" | grep - zulip_title="cslib#$pr_number adaptations for nightly-$NIGHTLYDATE" zulip_body=$(printf "> %s\n\nPlease review this PR. At the end of the month this diff will land in 'main'." "$pr_title cslib#$pr_number") - echo "Posting the link to the PR in a new thread on the #nightly-testing channel on Zulip" + echo "Posting the link to the PR in a new thread on the #nightly-testing-cslib channel on Zulip" echo "Here is the message:" echo "Title: $zulip_title" echo " Body: $zulip_body" if command -v zulip-send >/dev/null 2>&1; then - zulip_command="zulip-send --stream nightly-testing --subject \"$zulip_title\" --message \"$zulip_body\"" + zulip_command="zulip-send --stream nightly-testing-cslib --subject \"$zulip_title\" --message \"$zulip_body\"" echo "Running the following 'zulip-send' command to do this:" echo "> $zulip_command" eval "$zulip_command"