Skip to content

.github/workflows/slack-eod-activities.yaml #2

.github/workflows/slack-eod-activities.yaml

.github/workflows/slack-eod-activities.yaml #2

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@main

Check failure on line 10 in .github/workflows/slack-eod-activities.yaml

View workflow run for this annotation

GitHub Actions / .github/workflows/slack-eod-activities.yaml

Invalid workflow file

error parsing called workflow ".github/workflows/slack-eod-activities.yaml" -> "coronasafe/leaderboard/.github/workflows/post-activities-updates.yaml@main" (source branch with sha:39332186639d0b739498b486f19065e377a700e3) : secret name `GITHUB_TOKEN` within `workflow_call` can not be used since it would collide with system reserved name
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 }}