fix #64 兼容表结构主键列名不为id时引发的问题 #18
This file contains 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: Update README | |
on: | |
push: | |
branches: | |
- 'develop' | |
jobs: | |
update-readme: | |
runs-on: ubuntu-latest | |
env: | |
GITHUB_TOKEN: ${{ secrets.Token }} | |
REPO_NAME: ${{ github.repository }} | |
README_PATH: ${{ github.workspace }}/README.md | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up Python 3.11 | |
uses: actions/setup-python@v3 | |
with: | |
python-version: "3.11" | |
- name: Set Git Config | |
run: | | |
git config --global user.name "${{ github.actor }}" | |
git config --global user.email "${{ github.actor_email }}" | |
- name: Install dependencies | |
run: pip install requests | |
- name: Update README | |
run: | | |
python .github/workflows/update_readme.py | |