Skip to content

Commit 9cd5441

Browse files
committed
Auto-generated commit
1 parent 2975273 commit 9cd5441

File tree

11 files changed

+162
-86
lines changed

11 files changed

+162
-86
lines changed

.github/.keepalive

Lines changed: 0 additions & 1 deletion
This file was deleted.

.github/workflows/publish.yml

Lines changed: 16 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ jobs:
5353

5454
# Define environment variables:
5555
env:
56-
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}
56+
ZULIP_API_KEY: ${{ secrets.ZULIP_API_KEY }}
5757
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
5858

5959
# Define the sequence of job steps...
@@ -216,14 +216,23 @@ jobs:
216216
run: |
217217
git reset --hard
218218
219-
# Send status to Slack channel if job fails:
220-
- name: 'Send status to Slack channel in case of failure'
219+
# Send notification to Zulip if job fails:
220+
- name: 'Send notification to Zulip in case of failure'
221221
# Pin action to full length commit SHA
222-
uses: 8398a7/action-slack@28ba43ae48961b90635b50953d216767a6bea486 # v3.16.2
223-
with:
224-
status: ${{ job.status }}
225-
channel: '#npm-ci'
222+
uses: zulip/github-actions-zulip/send-message@e4c8f27c732ba9bd98ac6be0583096dea82feea5 # v1.0.2
226223
if: failure()
224+
with:
225+
api-key: ${{ secrets.ZULIP_API_KEY }}
226+
email: 'github-actions-bot@stdlib.zulipchat.com'
227+
organization-url: 'https://stdlib.zulipchat.com'
228+
to: 'workflows-standalone'
229+
type: 'stream'
230+
topic: ${{ github.event.repository.name }}
231+
content: |
232+
:cross_mark: **${{ github.workflow }}** workflow failed
233+
234+
**Repository:** [${{ github.repository }}](${{ github.server_url }}/${{ github.repository }})
235+
**Run:** [View workflow run](${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }})
227236
228237
# Define job to cancel any running or queued workflow runs...
229238
cancel:

.github/workflows/test.yml

Lines changed: 16 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ jobs:
5151

5252
# Define environment variables:
5353
env:
54-
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}
54+
ZULIP_API_KEY: ${{ secrets.ZULIP_API_KEY }}
5555

5656
# Define the sequence of job steps...
5757
steps:
@@ -89,11 +89,20 @@ jobs:
8989
run: |
9090
npm test || npm test || npm test
9191
92-
# Send status to Slack channel if job fails:
93-
- name: 'Send status to Slack channel in case of failure'
92+
# Send notification to Zulip if job fails:
93+
- name: 'Send notification to Zulip in case of failure'
9494
# Pin action to full length commit SHA
95-
uses: 8398a7/action-slack@28ba43ae48961b90635b50953d216767a6bea486 # v3.16.2
96-
with:
97-
status: ${{ job.status }}
98-
channel: '#npm-ci'
95+
uses: zulip/github-actions-zulip/send-message@e4c8f27c732ba9bd98ac6be0583096dea82feea5 # v1.0.2
9996
if: failure()
97+
with:
98+
api-key: ${{ secrets.ZULIP_API_KEY }}
99+
email: 'github-actions-bot@stdlib.zulipchat.com'
100+
organization-url: 'https://stdlib.zulipchat.com'
101+
to: 'workflows-standalone'
102+
type: 'stream'
103+
topic: ${{ github.event.repository.name }}
104+
content: |
105+
:cross_mark: **${{ github.workflow }}** workflow failed
106+
107+
**Repository:** [${{ github.repository }}](${{ github.server_url }}/${{ github.repository }})
108+
**Run:** [View workflow run](${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }})

.github/workflows/test_coverage.yml

Lines changed: 16 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ jobs:
4343

4444
# Define environment variables:
4545
env:
46-
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}
46+
ZULIP_API_KEY: ${{ secrets.ZULIP_API_KEY }}
4747

4848
# Define the sequence of job steps...
4949
steps:
@@ -113,14 +113,23 @@ jobs:
113113
echo "${{ steps.extract-coverage.outputs.table }}" >> $GITHUB_STEP_SUMMARY
114114
echo "" >> $GITHUB_STEP_SUMMARY
115115
116-
# Send Slack notification if job fails:
117-
- name: 'Send status to Slack channel in case of failure'
116+
# Send notification to Zulip if job fails:
117+
- name: 'Send notification to Zulip in case of failure'
118118
# Pin action to full length commit SHA
119-
uses: 8398a7/action-slack@28ba43ae48961b90635b50953d216767a6bea486 # v3.16.2
120-
with:
121-
status: ${{ job.status }}
122-
channel: '#npm-ci'
119+
uses: zulip/github-actions-zulip/send-message@e4c8f27c732ba9bd98ac6be0583096dea82feea5 # v1.0.2
123120
if: failure()
121+
with:
122+
api-key: ${{ secrets.ZULIP_API_KEY }}
123+
email: 'github-actions-bot@stdlib.zulipchat.com'
124+
organization-url: 'https://stdlib.zulipchat.com'
125+
to: 'workflows-standalone'
126+
type: 'stream'
127+
topic: ${{ github.event.repository.name }}
128+
content: |
129+
:cross_mark: **${{ github.workflow }}** workflow failed
130+
131+
**Repository:** [${{ github.repository }}](${{ github.server_url }}/${{ github.repository }})
132+
**Run:** [View workflow run](${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }})
124133
125134
# Send data to events server:
126135
- name: 'Post data'

.github/workflows/test_install.yml

Lines changed: 16 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ jobs:
4848

4949
# Define environment variables:
5050
env:
51-
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}
51+
ZULIP_API_KEY: ${{ secrets.ZULIP_API_KEY }}
5252

5353
# Run workflow job if `publish` workflow run is successful or when the workflow is manually triggered or on a schedule:
5454
if: ${{ github.event.workflow_run.conclusion == 'success' || github.event_name == 'workflow_dispatch' || github.event_name == 'schedule' }}
@@ -75,11 +75,20 @@ jobs:
7575
npm install --only=prod || npm install --only=prod || npm install --only=prod
7676
timeout-minutes: 15
7777

78-
# Send Slack notification if job fails:
79-
- name: 'Send notification to Slack in case of failure'
78+
# Send notification to Zulip if job fails:
79+
- name: 'Send notification to Zulip in case of failure'
8080
# Pin action to full length commit SHA
81-
uses: 8398a7/action-slack@28ba43ae48961b90635b50953d216767a6bea486 # v3.16.2
82-
with:
83-
status: ${{ job.status }}
84-
channel: '#npm-ci'
81+
uses: zulip/github-actions-zulip/send-message@e4c8f27c732ba9bd98ac6be0583096dea82feea5 # v1.0.2
8582
if: failure()
83+
with:
84+
api-key: ${{ secrets.ZULIP_API_KEY }}
85+
email: 'github-actions-bot@stdlib.zulipchat.com'
86+
organization-url: 'https://stdlib.zulipchat.com'
87+
to: 'workflows-standalone'
88+
type: 'stream'
89+
topic: ${{ github.event.repository.name }}
90+
content: |
91+
:cross_mark: **${{ github.workflow }}** workflow failed
92+
93+
**Repository:** [${{ github.repository }}](${{ github.server_url }}/${{ github.repository }})
94+
**Run:** [View workflow run](${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }})

.github/workflows/test_published_package.yml

Lines changed: 17 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ jobs:
4545

4646
# Define environment variables:
4747
env:
48-
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}
48+
ZULIP_API_KEY: ${{ secrets.ZULIP_API_KEY }}
4949

5050
# Run workflow job if `publish` workflow run is successful or when the workflow is manually triggered or on a schedule:
5151
if: ${{ github.event.workflow_run.conclusion == 'success' || github.event_name == 'workflow_dispatch' || github.event_name == 'schedule' }}
@@ -96,10 +96,20 @@ jobs:
9696
# Run the example:
9797
node index.js
9898
99-
# Send Slack notification if job fails:
100-
- name: 'Send notification to Slack in case of failure'
101-
uses: 8398a7/action-slack@28ba43ae48961b90635b50953d216767a6bea486 # v3.16.2
102-
with:
103-
status: ${{ job.status }}
104-
channel: '#npm-ci'
99+
# Send notification to Zulip if job fails:
100+
- name: 'Send notification to Zulip in case of failure'
101+
# Pin action to full length commit SHA
102+
uses: zulip/github-actions-zulip/send-message@e4c8f27c732ba9bd98ac6be0583096dea82feea5 # v1.0.2
105103
if: failure()
104+
with:
105+
api-key: ${{ secrets.ZULIP_API_KEY }}
106+
email: 'github-actions-bot@stdlib.zulipchat.com'
107+
organization-url: 'https://stdlib.zulipchat.com'
108+
to: 'workflows-standalone'
109+
type: 'stream'
110+
topic: ${{ github.event.repository.name }}
111+
content: |
112+
:cross_mark: **${{ github.workflow }}** workflow failed
113+
114+
**Repository:** [${{ github.repository }}](${{ github.server_url }}/${{ github.repository }})
115+
**Run:** [View workflow run](${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }})

.gitignore

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,12 @@ jsconfig.json
188188
# Other editor files #
189189
######################
190190
.idea/
191-
192-
# Cursor #
193-
##########
191+
.cursor
194192
.cursorignore
193+
.windsurfrules
194+
.clinerules
195+
196+
# AI coding agents #
197+
####################
198+
CLAUDE.md
199+
GEMINI.md

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
55
<section class="release" id="unreleased">
66

7-
## Unreleased (2025-07-14)
7+
## Unreleased (2026-01-25)
88

99
<section class="issues">
1010

0 commit comments

Comments
 (0)