Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Automate the daily summary of open PRs #372

Closed
wants to merge 10 commits into from
26 changes: 26 additions & 0 deletions .github/workflows/daily_pr_summary.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Daily PR Summary

on:
schedule:
# Run this every day at 9am and 6pm
- cron: '0 9,18 * * *'
push:
branches:
- "pr-summary-automation"
pull_request:
branches:
- "main"
paths:
- ".github/workflows/test.yaml"



jobs:
pr-reporter-slack:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: SeanReece/pr-reporter-slack
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
slack-webhook: ${{ secrets.SLACK_WEBHOOK }}
16 changes: 16 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: PR Reporter

on:
schedule:
# Run this every day at 9am and 1pm
- cron: '0 9,18 * * *'

jobs:
pr-reporter-slack:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: SeanReece/pr-reporter-slack@v1
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
slack-webhook: ${{ secrets.SLACK_WEBHOOK }}