rsnext/.github/workflows/popular.yml
Sam Ko b04cc939e4
chore(github-workflow): update popular workflows cron time, fix undef… (#65172)
## Why?

- Fix total reactions from being undefined, also switch it to ↑ instead
of 👍🏼
- Update cron times to be 3 hours earlier (better suit EU timezone)

Closes NEXT-3253
2024-04-29 19:34:36 +00:00

27 lines
973 B
YAML

name: Notify about the top 15 issues/PRs/feature requests (most reacted) in the last 90 days
on:
schedule:
- cron: '0 10 * * 1' # Every Monday at 10AM UTC (6AM EST)
workflow_dispatch:
jobs:
run:
if: github.repository_owner == 'vercel'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
- run: corepack enable
- name: 'Issues: Send notification to Slack'
run: node ./.github/actions/next-repo-info/dist/issues/index.mjs
continue-on-error: true
- name: 'PRs: Send notification to Slack'
run: node ./.github/actions/next-repo-info/dist/prs/index.mjs
continue-on-error: true
- name: 'Feature requests: Send notification to Slack'
run: node ./.github/actions/next-repo-info/dist/feature-requests/index.mjs
continue-on-error: true
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
SLACK_TOKEN: ${{ secrets.SLACK_TOKEN }}