name: summarize_progress on: workflow_dispatch: schedule: - cron: '30 23 * * 5' jobs: ci: if: github.repository == 'python/python-docs-zh-tw' runs-on: ubuntu-latest permissions: # Give the default GITHUB_TOKEN write permission to commit and push the # added or changed files to the repository. contents: write steps: - uses: actions/checkout@v6 - name: Install poetry uses: abatilo/actions-poetry@v4 - name: Execute Check Process run: | chmod +x .scripts/summarize_progress.sh .scripts/summarize_progress.sh shell: bash - name: Checkout wiki code uses: actions/checkout@v6 with: repository: ${{github.repository}}.wiki path: markdown - name: Copy content run: | cp .scripts/summarize_progress/result.md markdown/各檔案翻譯進度清單.md shell: bash - name: Commit wiki code uses: stefanzweifel/git-auto-commit-action@v7 with: commit_message: Weekly Update -- Summarize Progress repository: markdown