⚡ Project management that doesn't become the project. Boards, Gantt charts, and GitHub integration. Self-host it or use Kaneo Cloud.
TypeScript honoissue-managementissue-trackerjira-alternativekanbanlinear-alternativemcpproject-managementreactself-hostedtypescript
chore(ci): rename Discord webhook secrets by tool
justinb5a9a40c194c
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.ymlindex 31810db60..9c25fcfd3 100644--- a/.github/workflows/ci.yml+++ b/.github/workflows/ci.yml@@ -451,13 +451,13 @@ jobs:- name: Notify Discord on findingsif: ${{ failure() && !github.event.pull_request.head.repo.fork }}env:- DISCORD_WEBHOOK_URL: ${{ secrets.DISCORD_WEBHOOK_URL }}+ TRUFFLEHOG_WEBHOOK: ${{ secrets.TRUFFLEHOG_WEBHOOK }}RUN_URL: ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}BRANCH: ${{ github.ref_name }}TITLE: "🚨 Secret scan found credentials"run: |- if [ -z "$DISCORD_WEBHOOK_URL" ]; then- echo "DISCORD_WEBHOOK_URL is not configured; skipping notification."+ if [ -z "$TRUFFLEHOG_WEBHOOK" ]; then+ echo "TRUFFLEHOG_WEBHOOK is not configured; skipping notification."exit 0fiif [ ! -f trufflehog-results.sarif ]; then@@ -486,5 +486,5 @@ jobs:curl --fail --silent --show-error --max-time 15 \-H "Content-Type: application/json" \--data-binary @"$RUNNER_TEMP/discord-payload.json" \- "$DISCORD_WEBHOOK_URL" \+ "$TRUFFLEHOG_WEBHOOK" \|| echo "::warning::Discord notification could not be delivered."diff --git a/.github/workflows/nightly.yml b/.github/workflows/nightly.ymlindex 68f5e0143..f51e6b3dd 100644--- a/.github/workflows/nightly.yml+++ b/.github/workflows/nightly.yml@@ -61,13 +61,13 @@ jobs:- name: Notify Discord on findingsif: failure()env:- DISCORD_WEBHOOK_URL: ${{ secrets.DISCORD_WEBHOOK_URL }}+ TRUFFLEHOG_WEBHOOK: ${{ secrets.TRUFFLEHOG_WEBHOOK }}RUN_URL: ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}BRANCH: ${{ github.ref_name }}TITLE: "🌙 Nightly full-history secret scan found credentials"run: |- if [ -z "$DISCORD_WEBHOOK_URL" ]; then- echo "DISCORD_WEBHOOK_URL is not configured; skipping notification."+ if [ -z "$TRUFFLEHOG_WEBHOOK" ]; then+ echo "TRUFFLEHOG_WEBHOOK is not configured; skipping notification."exit 0fiif [ ! -f trufflehog-results.sarif ]; then@@ -96,7 +96,7 @@ jobs:curl --fail --silent --show-error --max-time 15 \-H "Content-Type: application/json" \--data-binary @"$RUNNER_TEMP/discord-payload.json" \- "$DISCORD_WEBHOOK_URL" \+ "$TRUFFLEHOG_WEBHOOK" \|| echo "::warning::Discord notification could not be delivered."workflow-audit:@@ -149,13 +149,13 @@ jobs:# The workflow audit posts to a dedicated Actions webhook (separate# from the secrets channel) so workflow-security alerts stay out of# the secrets incident channel. Skip silently if it is not set.- DISCORD_ACTIONS_WEBHOOK_URL: ${{ secrets.DISCORD_ACTIONS_WEBHOOK_URL }}+ ZIZMOR_WEBHOOK: ${{ secrets.ZIZMOR_WEBHOOK }}RUN_URL: ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}BRANCH: ${{ github.ref_name }}TITLE: "🌙 Nightly workflow audit found security issues"run: |- if [ -z "$DISCORD_ACTIONS_WEBHOOK_URL" ]; then- echo "DISCORD_ACTIONS_WEBHOOK_URL is not configured; skipping notification."+ if [ -z "$ZIZMOR_WEBHOOK" ]; then+ echo "ZIZMOR_WEBHOOK is not configured; skipping notification."exit 0fiif [ ! -f zizmor-results.json ]; then@@ -184,7 +184,7 @@ jobs:curl --fail --silent --show-error --max-time 15 \-H "Content-Type: application/json" \--data-binary @"$RUNNER_TEMP/discord-payload.json" \- "$DISCORD_ACTIONS_WEBHOOK_URL" \+ "$ZIZMOR_WEBHOOK" \|| echo "::warning::Discord notification could not be delivered."verify: