File tree Expand file tree Collapse file tree 1 file changed +44
-0
lines changed Expand file tree Collapse file tree 1 file changed +44
-0
lines changed Original file line number Diff line number Diff line change 1+ # Ensures that repos which are related to TypeScript but may not have regular commits
2+ # have their GitHub Actions scheduled jobs still active due to the 6 week timeout
3+ # on OSS repos. This has already triggered a few times with microsoft/TypeScript-Make-Monaco-Builds
4+ # so, better to automate keeping on top of it.
5+
6+ name : Related Repo Commit Bumps
7+
8+ on :
9+ schedule :
10+ # Monthly, https://crontab.guru/#0_0_*_1-12_*
11+ - cron : ' 0 0 * 1-12 *'
12+ workflow_dispatch : {}
13+
14+ jobs :
15+ build :
16+ runs-on : ubuntu-latest
17+
18+ steps :
19+ - name : Configure git and update package-lock.json
20+ run : |
21+ git config user.email "typescriptbot@microsoft.com"
22+ git config user.name "TypeScript Bot"
23+
24+ - uses : actions/checkout@v2
25+ with :
26+ repository : ' microsoft/TypeScript-Website'
27+ path : ' ts-site'
28+
29+ - name : Push Commit to TS Website
30+ run : |
31+ cd ts-site
32+ git commit --allow-empty -m "Monthly Bump"
33+ git push https://${{ secrets.TS_BOT_GITHUB_TOKEN }}@github.com/microsoft/TypeScript-Website.git
34+
35+ - uses : actions/checkout@v2
36+ with :
37+ repository : ' microsoft/TypeScript-Make-Monaco-Builds'
38+ path : ' monaco-builds'
39+
40+ - name : Push Commit to TS Make Monaco Builds
41+ run : |
42+ cd monaco-builds
43+ git commit --allow-empty -m "Monthly Bump"
44+ git push https://${{ secrets.TS_BOT_GITHUB_TOKEN }}@github.com/microsoft/TypeScript-Make-Monaco-Builds.git
You can’t perform that action at this time.
0 commit comments