Skip to content

Commit

Permalink
Adds workflow to post eod activities to slack channel
Browse files Browse the repository at this point in the history
  • Loading branch information
rithviknishad committed Apr 30, 2024
1 parent 7096e29 commit 4dd60d3
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 15 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/slack-eod-activities.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: Post EOD Messages to Slack Channel

on:
schedule:
- cron: "00 14 * * *" # 19:30 IST
workflow_dispatch:

jobs:
run-slack-eod-reminder:
uses: coronasafe/leaderboard/.github/workflows/post-activities-updates.yaml
if: github.ref == 'refs/heads/main'
permissions:
issues: read
pull-requests: read
with:
LEADERBOARD_URL: https://contributors.ohc.network
secrets:
GITHUB_TOKEN: ${{ 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 }}
15 changes: 0 additions & 15 deletions .github/workflows/slack-eod-bot.yaml

This file was deleted.

0 comments on commit 4dd60d3

Please sign in to comment.