Throwaway: run the sync script as a file (TirSystem/github-action issue 69)
Sync script trial / sync-metadata (push) Successful in 5s

This commit is contained in:
2026-10-10 20:28:26 +08:00
parent 43ce34267e
commit 368703be22
+26
View File
@@ -0,0 +1,26 @@
name: Sync script trial
on:
push:
branches: [ verify-sync-script ]
jobs:
sync-metadata:
permissions:
contents: read
runs-on: ubuntu-latest
steps:
- name: Fetch the shared script
uses: actions/checkout@v4
with:
repository: TirSystem/github-action
ref: verify-sync-script
path: shared-scripts
- name: Sync description and topics
env:
GITEA_API_URL: ${{ gitea.api_url }}
GITEA_CREDENTIALS: ${{ secrets.TOKEN_FOR_GITEA }}
SOURCE_REPOSITORY: ${{ gitea.repository }}
PAT_FOR_GITHUB: ${{ secrets.PAT_FOR_GITHUB }}
run: python3 shared-scripts/tools/sync_github_metadata.py