Skip to content

Commit a855373

Browse files
hyperpolymathclaude
andcommitted
chore(ci): repoint push-email-notify to smtp-notify-action
Replaces dawidd6/action-send-mail with hyperpolymath/smtp-notify-action v0.2.0 (ede1191ef6ff3ac02c4f4d9efdf837ee517e11d7) per the 2026-09-02 ruling; file is the rsr-template-repo canonical (dormant gating on vars.PUSH_EMAIL_ENABLED unchanged). regime=lock pristine=valid post=valid changed=.github/workflows/actions.lock,.github/workflows/push-email-notify.yml, Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
1 parent 0db2338 commit a855373

2 files changed

Lines changed: 32 additions & 11 deletions

File tree

‎.github/workflows/actions.lock‎

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ workflows:
4545
- 'dtolnay/rust-toolchain@master'
4646
- 'swatinem/rust-cache@v2.9.2'
4747
'.github/workflows/push-email-notify.yml':
48-
- 'dawidd6/action-send-mail@v3.12.0'
48+
- 'hyperpolymath/smtp-notify-action@v0.2.0'
4949
'.github/workflows/repo-integrity-guard.yml':
5050
- 'actions/checkout@v7.0.1'
5151
'.github/workflows/rust.yml':
@@ -92,11 +92,6 @@ dependencies:
9292
repo_id: 496012378
9393
uses:
9494
- 'actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f'
95-
'dawidd6/action-send-mail@v3.12.0':
96-
ref: 'v3.12.0'
97-
commit: 'sha1-94de994a9f6fffee200243214e17002e2920bb59'
98-
owner_id: 9713907
99-
repo_id: 222439721
10095
'dtolnay/rust-toolchain@master':
10196
ref: 'master'
10297
commit: 'sha1-2c7215f132e9ebf062739d9130488b56d53c060c'
@@ -122,6 +117,11 @@ dependencies:
122117
commit: 'sha1-89f3c2702f4f650a92aa7411502f38da06abd562'
123118
owner_id: 6759885
124119
repo_id: 1275650185
120+
'hyperpolymath/smtp-notify-action@v0.2.0':
121+
ref: 'v0.2.0'
122+
commit: 'sha1-ede1191ef6ff3ac02c4f4d9efdf837ee517e11d7'
123+
owner_id: 6759885
124+
repo_id: 1352485172
125125
'peter-evans/repository-dispatch@v4.0.1':
126126
ref: 'v4.0.1'
127127
commit: 'sha1-28959ce8df70de7be546dd1250a005dd32156697'

‎.github/workflows/push-email-notify.yml‎

Lines changed: 26 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,46 @@
11
# SPDX-License-Identifier: MPL-2.0
22
# This workflow is managed by gh actions-lock.
3-
# This workflow is managed by gh actions-lock.
43
# Dormant push-email notification. ARMED by setting the repo variable
54
# PUSH_EMAIL_ENABLED=true (the single on/off switch). Addresses are pre-filled;
65
# sending needs the org SMTP secrets (SMTP_HOST/PORT/USER/PASS). Inherited by
76
# new repos from the template; placed on existing repos by the farm sweep.
7+
#
8+
# Re-landed after the 2026-07-20 notification-storm freeze (removed in
9+
# 09f94c5), now on hyperpolymath/smtp-notify-action: Node-free, the SMTP
10+
# session is Idris2-specified and machine-checked, the binary is Zig-built,
11+
# byte-reproducible, and SHA-256-pinned inside the action itself.
812
name: Push email notification
913
on:
10-
push: {}
14+
push:
15+
# Branch pushes only: tag and deletion payloads mislabel Branch:/head_commit.
16+
branches: ['**']
17+
concurrency:
18+
# Deliberately per-RUN, so no run is ever queued behind another and none is
19+
# ever cancelled. Do NOT "tidy" this into a shared group such as
20+
# ${{ github.workflow }}-${{ github.ref }}. GitHub's workflow-syntax docs:
21+
# "By default, any existing pending job or workflow in the same concurrency
22+
# group will be canceled and the new queued job or workflow will take its
23+
# place." That happens regardless of cancel-in-progress, which governs only
24+
# the RUNNING job. On this workflow it silently loses a notification email,
25+
# with no error anywhere. Every run here reports a DISTINCT commit, so there
26+
# is no redundant work for a concurrency limit to remove.
27+
# The docs also offer `queue: max` (up to 100 pending); not used, because 100
28+
# is still a cap whereas a per-run group needs none.
29+
# Verified with zizmor 1.30.0: deleting this block raises concurrency-limits;
30+
# this form silences it exactly as a shared group would.
31+
group: push-email-${{ github.run_id }}
32+
cancel-in-progress: false
1133
permissions:
12-
actions: read
1334
contents: read
1435
jobs:
1536
notify:
1637
name: Email on push
1738
if: ${{ vars.PUSH_EMAIL_ENABLED == 'true' }}
1839
runs-on: ubuntu-latest
19-
timeout-minutes: 10
40+
timeout-minutes: 5
2041
steps:
2142
- name: Send push notification email
22-
uses: dawidd6/action-send-mail@v3.12.0
43+
uses: hyperpolymath/smtp-notify-action@v0.2.0 # NOSONAR — pin authority is actions.lock (sha1-ede1191ef6ff3ac02c4f4d9efdf837ee517e11d7)
2344
with:
2445
server_address: ${{ secrets.SMTP_HOST }}
2546
server_port: ${{ secrets.SMTP_PORT }}

0 commit comments

Comments
 (0)