Skip to content

Create workflow for new comment digest #1

Create workflow for new comment digest

Create workflow for new comment digest #1

name: new_comment_digest
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:

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

View workflow run for this annotation

GitHub Actions / .github/workflows/new_comment_digest.yml

Invalid workflow file

You have an error in your yaml syntax on line 12
env:
SLACK_TOKEN: ${{ secrets.SLACK_TOKEN }}
SLACK_CHANNEL: ${{ secrets.SLACK_CHANNEL_ABC_TEAM_PLUS }}
- 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"