Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions .github/workflows/report_failures_nightly-testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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: |
Expand Down Expand Up @@ -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}
],
Expand All @@ -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')}))"
}
Expand Down Expand Up @@ -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: |
Expand Down Expand Up @@ -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}
],
Expand Down Expand Up @@ -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
}
Expand Down
4 changes: 2 additions & 2 deletions scripts/create-adaptation-pr.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
Loading