From 5a884173cb2cd52f3d1a17bc821ca0bebe8ccb61 Mon Sep 17 00:00:00 2001 From: afan Date: Fri, 9 Aug 2024 22:57:11 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0ACTION?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/python-publish.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/python-publish.yml b/.github/workflows/python-publish.yml index f684028..0642ed7 100644 --- a/.github/workflows/python-publish.yml +++ b/.github/workflows/python-publish.yml @@ -7,7 +7,7 @@ on: branches: [ "main" ] permissions: - contents: read + contents: write # 允许写权限,以便提交更改 jobs: update_tushare: @@ -27,3 +27,8 @@ jobs: env: TUSHARE_TOKEN: ${{secrets.TUSHARE_TOKEN}} # 将TUSHARE密钥传递给环境变量 run: python etl/tushare_etl.py + - name: Commit and Push changes # 新增步骤 + run: | + git add . + git commit -m "daily update tushare data" + git push \ No newline at end of file