返回 DeepSeek-Reasonix
update-acknowledgments.yml
根目录 / .github / workflows / update-acknowledgments.yml
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@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7
17 - uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # 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@5f6978faf089d4d20b00c7766989d076bb2fc7f1 # v8
26 with:
27 # GITHUB_TOKEN-authored pull requests never trigger CI, so required checks would never report.
28 token: ${{ secrets.ACKNOWLEDGMENTS_TOKEN || secrets.GITHUB_TOKEN }}
29 branch: chore/update-acknowledgments
30 delete-branch: true
31 title: 'Update acknowledgments contributors / 更新致谢贡献者'
32 commit-message: 'docs: update acknowledgments contributors'
33 body: |
34 Refreshes the README acknowledgments tables from the GitHub contributors API.
35
36 - Source: `repos/esengine/DeepSeek-Reasonix/contributors?per_page=20&anon=1`
37 - Anonymous contributors are shown without email addresses.
38 labels: documentation
39
39 lines YAML