name: Dashboard PR Reminder on: schedule: # Run at 10am Singapore Time (2am UTC) - cron: '0 2 * * *' # Run at 10am US Eastern Time (2pm UTC = 10am EDT / 9am EST) - cron: '0 14 * * *' workflow_dispatch: # Allow manual trigger for testing permissions: pull-requests: read contents: read jobs: check-dashboard-prs: runs-on: ubuntu-latest steps: - name: Checkout repository uses: actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955 # v4.3.0 with: persist-credentials: false sparse-checkout: | scripts patches - uses: pnpm/action-setup@41ff72655975bd51cab0327fa583b6e92b6d3061 # v4.2.0 name: Install pnpm with: run_install: false - name: Use Node.js uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0 with: node-version-file: '.nvmrc' cache: 'pnpm' - name: Install deps run: pnpm install --frozen-lockfile - name: Find stale Dashboard PRs and notify Slack env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} SLACK_WEBHOOK_URL: ${{ secrets.SLACK_DASHBOARD_WEBHOOK_URL }} run: pnpm tsx scripts/actions/find-stale-dashboard-prs.ts | pnpm tsx scripts/actions/send-slack-pr-notification.ts