-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into chore-update-cache-dir-env
- Loading branch information
Showing
137 changed files
with
2,897 additions
and
1,406 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 }}" |
Oops, something went wrong.