Skip to content

Support to Fetch Starlink Statistics #503

Support to Fetch Starlink Statistics

Support to Fetch Starlink Statistics #503

Workflow file for this run

name: AllUp
on:
pull_request:
types:
- opened
- synchronize
- reopened
schedule:
- cron: '26 1 * * *'
workflow_dispatch:
permissions:
pull-requests: write
env:
TZ: Asia/Shanghai
jobs:
AllUp:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4.0.0
- name: Setup Python
uses: actions/setup-python@v4.7.0
with:
python-version: '3.12'
cache: 'pip'
- name: Install Python Dependencies
run: pip install -r requirements.txt
- name: Main
run: python main.py
env:
GITHUB_EVENT_NAME: ${{ github.event_name }}
GITHUB_REF: ${{ github.ref }}
GITHUB_REPOSITORY_OWNER: ${{ github.repository_owner }}
SATWIKI_PASSWORD: ${{ secrets.SATWIKI_PASSWORD }}
- name: TSS
run: python TSS.py
env:
GITHUB_EVENT_NAME: ${{ github.event_name }}
GITHUB_REF: ${{ github.ref }}
GITHUB_REPOSITORY_OWNER: ${{ github.repository_owner }}
SATWIKI_PASSWORD: ${{ secrets.SATWIKI_PASSWORD }}
- name: Preview on Pull Request
if: ${{ github.event_name == 'pull_request' }}
uses: thollander/actions-comment-pull-request@v2.4.2
with:
filePath: PR_preview.md
comment_tag: actions-wikitext-preview