27 lines
708 B
YAML
27 lines
708 B
YAML
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
|