-
Notifications
You must be signed in to change notification settings - Fork 242
36 lines (31 loc) · 1.14 KB
/
daily-slack-message.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
name: Daily protocol-monorepo slack message
on:
workflow_dispatch:
schedule:
- cron: 0 11 * * 1-5
jobs:
send-slack-message:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Use Node.js 18.x
uses: actions/setup-node@v4
with:
node-version: 18.x
- name: Send slack message
working-directory: tasks
run: |
npm install ethers --force
node daily-slack-bot.js
env:
CI_SLACK_WEBHOOK: ${{ secrets.CI_SLACK_WEBHOOK }}
ETHERSCAN_API_KEY: ${{ secrets.ETHERSCAN_API_KEY }}
POLYGONSCAN_API_KEY: ${{ secrets.POLYGONSCAN_API_KEY }}
SNOWTRACE_API_KEY: ${{ secrets.SNOWTRACE_API_KEY }}
OPTIMISTIC_API_KEY: ${{ secrets.OPTIMISTIC_API_KEY }}
ARBISCAN_API_KEY: ${{ secrets.ARBISCAN_API_KEY }}
BSCSCAN_API_KEY: ${{ secrets.BSCSCAN_API_KEY }}
CELOSCAN_API_KEY: ${{ secrets.CELOSCAN_API_KEY }}
GNOSISSCAN_API_KEY: ${{ secrets.GNOSISSCAN_API_KEY}}
BASESCAN_API_KEY: ${{ secrets.BASESCAN_API_KEY}}
SCROLLSCAN_API_KEY: ${{ secrets.SCROLLSCAN_API_KEY}}