diff --git a/.github/workflows/TC-version-update.yml b/.github/workflows/TC-version-update.yml index 638b88ae..1d1b7269 100644 --- a/.github/workflows/TC-version-update.yml +++ b/.github/workflows/TC-version-update.yml @@ -29,4 +29,16 @@ jobs: - name: execute py script # run main.py run: python ./scripts/release_publish.py -b - \ No newline at end of file + + - name: commit files + run: | + git config --local user.email "action@github.com" + git config --local user.name "GitHub Action" + git add -A + git diff-index --quiet HEAD || (git commit -a -m "updated logs" --allow-empty) + + - name: push changes + uses: ad-m/github-push-action@v0.6.0 + with: + github_token: ${{ secrets.GITHUB_TOKEN }} + branch: main \ No newline at end of file