diff --git a/.github/workflows/daily_pr_summary.yml b/.github/workflows/daily_pr_summary.yml new file mode 100644 index 000000000..204d88c53 --- /dev/null +++ b/.github/workflows/daily_pr_summary.yml @@ -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 }} \ No newline at end of file diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml new file mode 100644 index 000000000..c1333aef8 --- /dev/null +++ b/.github/workflows/main.yml @@ -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 }}