Skip to content

Update Hot Tier

Update Hot Tier #315

Workflow file for this run

name: Update Hot Tier
on:
schedule:
- cron: '0 */2 * * *'
workflow_dispatch:
concurrency:
group: data-update
cancel-in-progress: false
jobs:
update:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- uses: actions/checkout@v4
- run: node scripts/fetch-celestrak.mjs --tier hot
- name: Commit if changed
run: |
git diff --quiet && exit 0
git config user.name "github-actions[bot]"
git config user.email "41898282+github-actions[bot]@users.noreply.github.com"
git add -A
git commit -m "update hot $(date -u +%Y-%m-%dT%H:%M:%SZ)"
git pull --rebase origin master
git push