03 Connect
Slack and Discord
One message to a webhook you give it, only when you run it. Nosy never reads chat.
Set it up
Create an incoming webhook in the channel's settings. Keep its URL secret: an environment variable or a repository secret, never a file you commit.
$ npx github:nosy-hq/nosy weekly
$ npx github:nosy-hq/nosy notify --slack "$NOSY_SLACK_WEBHOOK" --discord "$NOSY_DISCORD_WEBHOOK"Run weekly first: notify reads pm/state/ and says so if it is empty. Either flag alone is fine. NOSY_SLACK_WEBHOOK and NOSY_DISCORD_WEBHOOK are read when the flags are missing. Each target prints sent, or failed and exit code 1: no network, or the URL is wrong or revoked.
Look before you send
$ npx github:nosy-hq/nosy notify --dry-runPrints the message and says whether a real send would stop. Without a webhook, notify is always a dry run.
What the message holds
- this week's commit and PR counts;
- up to five merged PR titles and three close-to-merge PR titles;
- bet names, three cheap-win titles, and five “Announceable (for marketing)” titles built from git;
- a quiet digest, when the files exist: up to three rivals whose public numbers moved, and one roadmap line. Nothing is added when nothing moved;
- your decision page URL, if
NOSY_PAGE_URLis set.
It is one text message. PR titles are in it, so anyone in the channel reads them.
The privacy scan
The scan runs first. If it finds a secret or personal data, the message does not go out and the finding is listed. Read it. Only if it is safe to send: --allow-sensitive.
From the GitHub Action
Pass slack-webhook or discord-webhook as secrets, and page-url to link the page. See the Action page.