2828 run-tornado-transaction :
2929 name : Execute Tornado Transaction on Testnet
3030 runs-on : ubuntu-latest
31+ env :
32+ # Disable Telegram notifications
33+ SKIP_TELEGRAM_NOTIFICATIONS : ' true'
34+ TELEGRAM_BOT_TOKEN : ' disabled'
35+ TELEGRAM_CHAT_ID : ' disabled'
3136
3237 steps :
3338 - name : Checkout code
@@ -124,15 +129,26 @@ jobs:
124129 echo "## Transaction Log" >> reports/transaction_report.md
125130 echo "\`\`\`" >> reports/transaction_report.md
126131 cd scripts
132+ # Explicitly disabling telegram-related environment variables before running script
133+ export TELEGRAM_BOT_TOKEN=disabled TELEGRAM_CHAT_ID=disabled SKIP_TELEGRAM_NOTIFICATIONS=true
127134 ./run_tornado_transaction_metrics.sh 2>&1 | tee -a ../reports/transaction_log.txt
128135 cat ../reports/transaction_log.txt >> ../reports/transaction_report.md
129136 echo "\`\`\`" >> reports/transaction_report.md
130137 env :
131138 DENOMINATION : ${{ github.event.inputs.denomination || '1' }}
132139 MERKLE_TREE_HEIGHT : ${{ github.event.inputs.merkle_tree_height || '20' }}
133140 RPC_URL : ${{ github.event.inputs.rpc_url || 'https://api.testnet.solana.com' }}
141+ # Remove telegram token dependency
142+ TELEGRAM_BOT_TOKEN : ' disabled'
143+ TELEGRAM_CHAT_ID : ' disabled'
144+ SKIP_TELEGRAM_NOTIFICATIONS : ' true'
134145
135146 - name : Generate transaction metrics
147+ env :
148+ # Remove telegram token dependency
149+ TELEGRAM_BOT_TOKEN : ' disabled'
150+ TELEGRAM_CHAT_ID : ' disabled'
151+ SKIP_TELEGRAM_NOTIFICATIONS : ' true'
136152 run : |
137153 echo "## Transaction Metrics" >> reports/transaction_report.md
138154 echo "### Execution Times" >> reports/transaction_report.md
@@ -157,6 +173,11 @@ jobs:
157173 fi
158174
159175 - name : Generate detailed performance report
176+ env :
177+ # Remove telegram token dependency
178+ TELEGRAM_BOT_TOKEN : ' disabled'
179+ TELEGRAM_CHAT_ID : ' disabled'
180+ SKIP_TELEGRAM_NOTIFICATIONS : ' true'
160181 run : |
161182 echo "### Deposit Transaction Details" >> reports/transaction_report.md
162183 if [ -f reports/metrics/deposit_metrics.json ]; then
@@ -220,6 +241,11 @@ jobs:
220241 fi
221242
222243 - name : Solana network metrics
244+ env :
245+ # Remove telegram token dependency
246+ TELEGRAM_BOT_TOKEN : ' disabled'
247+ TELEGRAM_CHAT_ID : ' disabled'
248+ SKIP_TELEGRAM_NOTIFICATIONS : ' true'
223249 run : |
224250 echo "## Solana Network Metrics" >> reports/transaction_report.md
225251 echo "### Transaction Count" >> reports/transaction_report.md
@@ -238,6 +264,11 @@ jobs:
238264 echo "\`\`\`" >> reports/transaction_report.md
239265
240266 - name : Transaction explorer links
267+ env :
268+ # Remove telegram token dependency
269+ TELEGRAM_BOT_TOKEN : ' disabled'
270+ TELEGRAM_CHAT_ID : ' disabled'
271+ SKIP_TELEGRAM_NOTIFICATIONS : ' true'
241272 run : |
242273 echo "## Transaction Explorer Links" >> reports/transaction_report.md
243274 if [ -f reports/metrics/deposit_signature.txt ]; then
@@ -256,6 +287,11 @@ jobs:
256287 fi
257288
258289 - name : Create transaction flow visualization
290+ env :
291+ # Remove telegram token dependency
292+ TELEGRAM_BOT_TOKEN : ' disabled'
293+ TELEGRAM_CHAT_ID : ' disabled'
294+ SKIP_TELEGRAM_NOTIFICATIONS : ' true'
259295 run : |
260296 echo "## Visualization" >> reports/transaction_report.md
261297 echo "### Transaction Flow" >> reports/transaction_report.md
@@ -291,6 +327,11 @@ jobs:
291327 echo "\`\`\`" >> reports/transaction_report.md
292328
293329 - name : Create summary report
330+ env :
331+ # Remove telegram token dependency
332+ TELEGRAM_BOT_TOKEN : ' disabled'
333+ TELEGRAM_CHAT_ID : ' disabled'
334+ SKIP_TELEGRAM_NOTIFICATIONS : ' true'
294335 run : |
295336 echo "## Executive Summary" > reports/summary.md
296337 echo "Tornado-SVM privacy solution transaction test completed on $(date)." >> reports/summary.md
@@ -333,5 +374,17 @@ jobs:
333374 retention-days : 90
334375
335376 - name : Create GitHub job summary
377+ env :
378+ # Remove telegram token dependency
379+ TELEGRAM_BOT_TOKEN : ' disabled'
380+ TELEGRAM_CHAT_ID : ' disabled'
381+ SKIP_TELEGRAM_NOTIFICATIONS : ' true'
336382 run : |
337383 cat reports/summary.md >> $GITHUB_STEP_SUMMARY
384+
385+ # Explicitly disable Telegram notifications that might be inherited from elsewhere
386+ - name : Disable Telegram Notifications
387+ run : |
388+ echo "TELEGRAM_BOT_TOKEN=disabled" >> $GITHUB_ENV
389+ echo "TELEGRAM_CHAT_ID=disabled" >> $GITHUB_ENV
390+ echo "SKIP_TELEGRAM_NOTIFICATIONS=true" >> $GITHUB_ENV
0 commit comments