Skip to content

Post EOD Messages to Slack Channel #182

Post EOD Messages to Slack Channel

Post EOD Messages to Slack Channel #182

name: Post EOD Messages to Slack Channel
on:
schedule:
- cron: "30 13 * * *" # 19:30 IST
workflow_dispatch:
jobs:
run-slack-eod-reminder:
uses: ohcnetwork/leaderboard/.github/workflows/remind-and-post-eod-updates-to-slack.yaml@main
if: github.ref == 'refs/heads/main'
permissions:
issues: read
pull-requests: read
with:
LEADERBOARD_URL: https://contributors.ohc.network
secrets:
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
LEADERBOARD_API_KEY: ${{ secrets.LEADERBOARD_API_KEY }}
SLACK_EOD_BOT_CHANNEL: ${{ vars.SLACK_EOD_BOT_CHANNEL }}
SLACK_EOD_BOT_TOKEN: ${{ secrets.SLACK_EOD_BOT_TOKEN }}