From 056b3aaab379df3846299cab523d9fe7f62e2e12 Mon Sep 17 00:00:00 2001 From: Frost Ming Date: Thu, 11 Jul 2024 11:55:23 +0800 Subject: [PATCH] chore: fix changelog generationworkflow Signed-off-by: Frost Ming --- .github/workflows/pythonpublish.yml | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/.github/workflows/pythonpublish.yml b/.github/workflows/pythonpublish.yml index 7770820..eca62f5 100644 --- a/.github/workflows/pythonpublish.yml +++ b/.github/workflows/pythonpublish.yml @@ -6,7 +6,7 @@ on: permissions: id-token: write # This is required for requesting the JWT - contents: read + contents: write jobs: deploy: @@ -14,16 +14,19 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 - - uses: actions/setup-node@v3 + - uses: actions/checkout@v4 with: - node-version: 18 + fetch-depth: 0 + - uses: actions/setup-node@v4 + with: + node-version: 'lts/*' - run: npx changelogithub continue-on-error: true env: GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}} - - name: Set up Python 3.8 + + - name: Set up Python uses: actions/setup-python@v5 with: python-version: '3.12'