Skip to content

Commit

Permalink
Merge branch 'main' into chore-update-cache-dir-env
Browse files Browse the repository at this point in the history
  • Loading branch information
weyert committed Mar 12, 2024
2 parents 6559a6a + 70c36cb commit cfe7bd8
Show file tree
Hide file tree
Showing 137 changed files with 2,897 additions and 1,406 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/turborepo-top-issues.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: Turborepo Top Issues

on:
schedule:
- cron: "0 13 * * 1" # Every Monday at 1PM UTC (9AM EST)
workflow_dispatch:

jobs:
run:
# if: github.repository_owner == 'vercel'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20
- run: corepack enable
- run: pnpm install
- name: "Get Top Issues"
run: node ./packages/top-issues/src/index.mjs packages/top-issues
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: "Show slack payload"
run: cat packages/top-issues/slack-payload.json
- name: Send payload to slack
uses: slackapi/slack-github-action@v1.23.0
with:
payload-file-path: "packages/top-issues/slack-payload.json"
env:
SLACK_WEBHOOK_URL: "${{ secrets.TURBOREPO_REPO_STATS_SLACK_WEBHOOK_URL }}"

0 comments on commit cfe7bd8

Please sign in to comment.