diff --git a/{{cookiecutter.project_name}}/.github/workflows/python-app.yml b/{{cookiecutter.project_name}}/.github/workflows/python-app.yml index 506ba28..902adc5 100644 --- a/{{cookiecutter.project_name}}/.github/workflows/python-app.yml +++ b/{{cookiecutter.project_name}}/.github/workflows/python-app.yml @@ -16,7 +16,7 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v6 with: fetch-depth: 0 - name: Set up Python 3.12 diff --git a/{{cookiecutter.project_name}}/.github/workflows/semantic-release.yml b/{{cookiecutter.project_name}}/.github/workflows/semantic-release.yml index 2b19798..2f4ec0f 100644 --- a/{{cookiecutter.project_name}}/.github/workflows/semantic-release.yml +++ b/{{cookiecutter.project_name}}/.github/workflows/semantic-release.yml @@ -10,7 +10,7 @@ jobs: if: ${{ github.event.pull_request.merged }} runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v6 with: persist-credentials: false # otherwise, the token used is the GITHUB_TOKEN, instead of your personal token fetch-depth: 0 # otherwise, you will failed to push refs to dest repo @@ -59,7 +59,7 @@ jobs: concurrency: release steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v6 with: fetch-depth: 0 token: ${{ secrets.SEM_RELEASE }}