Skip to content

Keep alive

Keep alive #1102

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@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
- 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