Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 2 additions & 3 deletions .github/workflows/publish-registry.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
name: Publish registry
#description: Publish the types-registry package to npm (a list of all @types packages in the DT repo).
on:
schedule:
# https://crontab.guru/#0_0_*_*_0
- cron: 0 0 * * 0
workflow_call:
workflow_dispatch:
jobs:
publish-registry:
Expand Down
4 changes: 1 addition & 3 deletions .github/workflows/update-ts-version-tags.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,13 @@ name: Update ts* tags for ATA

# For production
on:
workflow_call:
workflow_dispatch:
inputs:
checkout:
description: ref to deploy
required: true
default: master
schedule:
# https://crontab.guru/#5_8_*_*_1
- cron: "5 8 * * 1"

jobs:
publish:
Expand Down
13 changes: 13 additions & 0 deletions .github/workflows/weekly.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
name: Weekly
#description: Update npm tags, then publish the types-registry package.
on:
schedule:
# https://crontab.guru/#0_0_*_*_0
- cron: 0 0 * * 0
jobs:
publish-registry:
needs: retag
uses: ./.github/workflows/publish-registry.yml
retag:
if: github.repository == 'microsoft/DefinitelyTyped-tools'
uses: ./.github/workflows/update-ts-version-tags.yml