f8aa7f3af8
## Description Add a GitHub Workflow that notifies us (internally) about the top 15 :pr:s (most reacted) in the last 90 days. Closes NEXT-2387
22 lines
643 B
YAML
22 lines
643 B
YAML
name: Notify about the top 15 PRs (most reacted) in the last 90 days
|
|
|
|
on:
|
|
schedule:
|
|
- cron: '0 13 * * 1' # Every Monday at 1PM UTC (9AM EST)
|
|
workflow_dispatch:
|
|
|
|
jobs:
|
|
popular-issues:
|
|
if: github.repository_owner == 'vercel'
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- uses: actions/setup-node@v4
|
|
with:
|
|
node-version: 18
|
|
- run: corepack enable
|
|
- name: 'Send notification to Slack'
|
|
run: node ./.github/actions/next-repo-info/dist/prs/index.mjs
|
|
env:
|
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
SLACK_TOKEN: ${{ secrets.SLACK_TOKEN }}
|