Skip to content

Create workflow for new comment digest #2

Create workflow for new comment digest

Create workflow for new comment digest #2

name: new_comment_digest

Check failure on line 1 in .github/workflows/new_comment_digest.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/new_comment_digest.yml

Invalid workflow file

`workflow_dispactch` is not a valid event name
on:
schedule: # 08:30 daily
- cron: '30 8 * * *'
workflow_dispactch: # This job can also be run on-demand (is this needed?)
permissions:
contents: read # Is this needed?
jobs:
new_comment_digest:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@4
- uses: actions/setup-python@4
with:
python-version: 3.x
- run: pip install requests
- run: scripts/gh_scripts/issue_comment_bot.py 24 "$SLACK_CHANNEL" "$SLACK_TOKEN"
env:
SLACK_TOKEN: ${{ secrets.SLACK_TOKEN }}
SLACK_CHANNEL: ${{ secrets.SLACK_CHANNEL_ABC_TEAM_PLUS }}