Sync latest.json from HuggingFace #1
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Create new project tasks when latest.7z updated | |
| on: | |
| push: | |
| branches: | |
| - master | |
| paths: | |
| - 'latest.json' | |
| jobs: | |
| create-item: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v2 | |
| - name: Get file contents | |
| run: echo "latest.7z=$(cat latest.7z)" | |
| - name: Create item in task | |
| run: | | |
| curl -X POST \ | |
| -H "Authorization: Bearer ${{ secrets.GH_TOKEN}}" \ | |
| -H "Content-Type: application/json" \ | |
| -d '{ | |
| "title": "Update tasks when CBDB SQLite updated", | |
| "body": "Confirm that 1. you have deleted 待删除/待刪除. 2. Merged persons by using one drive and Peter's disambiguation sheet. 3. Create CBDB_NAME_LIST on MaraDB. 4. Update the contributions from our crowdsourcing group. 5. Please update API, biog_ref, calculate index year by Access, update index year to API + inputting system, send data dump to ChineseAll, Markus, AS, and send data to CBDB Line. 6. Update the CSA SQLite database. 7. update 上圖 linked open data. 8. update huggingface cbdb sqlite(CBDB_yyyymmdd and CBDB_ZZZ_tables_yyyymmdd) before github. 9. update dataverse. 10 update the all the historical update log page. 11 update code_office and code_addr programs, update code tables for crowdsourcing group. 12 Use user guide to update CBDB user guide GPTs bot. 13 if there is database structure change, update these changes to CBDB codebook", | |
| }' \ | |
| https://api.github.com/orgs/cbdb-project/projects/3/items |