diff --git a/.github/workflows/conote-ai.yml b/.github/workflows/conote-ai.yml index dbfc6a3f1..15cf70d65 100644 --- a/.github/workflows/conote-ai.yml +++ b/.github/workflows/conote-ai.yml @@ -29,7 +29,7 @@ jobs: runs-on: ubuntu-latest timeout-minutes: 20 steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v7 - name: Install pnpm uses: pnpm/action-setup@v4 @@ -66,7 +66,7 @@ jobs: # value-based guard below covers the case where the secret is simply unset. if: ${{ github.event_name != 'pull_request' || github.event.pull_request.head.repo.fork == false }} steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v7 # Secrets cannot be referenced in a job-level `if:`, so surface presence as a # step output and gate the real work on it. Empty secret => skip with a notice. diff --git a/.github/workflows/conote-upstream-sync.yml b/.github/workflows/conote-upstream-sync.yml index 713e97f11..2e7dcf908 100644 --- a/.github/workflows/conote-upstream-sync.yml +++ b/.github/workflows/conote-upstream-sync.yml @@ -36,7 +36,7 @@ jobs: # and `git rev-list main..upstream/main` have every commit to reason about. # persist-credentials (default true) leaves a token that can push the branch. - name: Checkout main (full history) - uses: actions/checkout@v4 + uses: actions/checkout@v7 with: fetch-depth: 0 ref: main