Skip to content

Publish Weekly Stats #195

Publish Weekly Stats

Publish Weekly Stats #195

Workflow file for this run

name: Publish Weekly Stats
on:
schedule:
# https://crontab.guru/#0_12_*_*_1
- cron: "0 12 * * 1"
workflow_dispatch:
permissions:
contents: read
comments: write

Check failure on line 11 in .github/workflows/weekly-stats.yml

View workflow run for this annotation

GitHub Actions / Publish Weekly Stats

Invalid workflow file

The workflow is not valid. .github/workflows/weekly-stats.yml (Line: 11, Col: 3): Unexpected value 'comments'
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
- uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b # v4.0.3
with:
node-version: "18.x"
- uses: pnpm/action-setup@fe02b34f77f8bc703788d5817da081398fad5dd2 # v4.0.0
- run: pnpm install
# Update the site stats
- run: node packages/typescriptlang-org/scripts/updateAppInsightsGitHubIssue.js
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
APP_INSIGHTS_API_KEY: ${{ secrets.APP_INSIGHTS_API_KEY }}
APP_INSIGHTS_ID: ${{ secrets.APP_INSIGHTS_ID }}