Skip to content

Keep alive

Keep alive #985

Workflow file for this run

name: Keep alive
on:
schedule:
- cron: "0 0 * * *"
jobs:
keepalive:
runs-on: ubuntu-latest
if: github.repository == 'microsoft/TypeScript-Website'
permissions:
contents: write
steps:
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
- run: |
if [[ $(git log --format="%H" --since "50 days" | head -c1 | wc -c) == 0 ]]; then
git config user.email "290192711+typescript-automation[bot]@users.noreply.github.com"
git config user.name "typescript-automation[bot]"
git commit --allow-empty -m "Automated commit to keep GitHub Actions active"
git push
fi