| 1 | name: Update acknowledgments |
| 2 | |
| 3 | on: |
| 4 | workflow_dispatch: |
| 5 | schedule: |
| 6 | - cron: '17 3 * * 1' |
| 7 | |
| 8 | permissions: |
| 9 | contents: write |
| 10 | pull-requests: write |
| 11 | |
| 12 | jobs: |
| 13 | update: |
| 14 | runs-on: ubuntu-latest |
| 15 | steps: |
| 16 | - uses: actions/checkout@v7 |
| 17 | - uses: actions/setup-node@v7 |
| 18 | with: |
| 19 | node-version: '22' |
| 20 | - name: Update README contributor tables |
| 21 | env: |
| 22 | GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
| 23 | run: node scripts/update-acknowledgments.mjs |
| 24 | - name: Open pull request |
| 25 | uses: peter-evans/create-pull-request@v8 |
| 26 | with: |
| 27 | token: ${{ secrets.GITHUB_TOKEN }} |
| 28 | branch: chore/update-acknowledgments |
| 29 | delete-branch: true |
| 30 | title: 'Update acknowledgments contributors / 更新致谢贡献者' |
| 31 | commit-message: 'docs: update acknowledgments contributors' |
| 32 | body: | |
| 33 | Refreshes the README acknowledgments tables from the GitHub contributors API. |
| 34 | |
| 35 | - Source: `repos/esengine/DeepSeek-Reasonix/contributors?per_page=20&anon=1` |
| 36 | - Anonymous contributors are shown without email addresses. |
| 37 | labels: documentation |
| 38 |