Throwaway: run the sync script as a file (TirSystem/github-action issue 69)
Sync script trial / sync-metadata (push) Successful in 5s
Sync script trial / sync-metadata (push) Successful in 5s
This commit is contained in:
@@ -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
|
||||||
Reference in New Issue
Block a user