diff --git a/.github/workflows/build-pypi.yml b/.github/workflows/build-pypi.yml index 1652d30e..6c717e77 100644 --- a/.github/workflows/build-pypi.yml +++ b/.github/workflows/build-pypi.yml @@ -51,7 +51,7 @@ jobs: - uses: hmarr/debug-action@v3.0.0 - name: Checkout - uses: actions/checkout@v5 + uses: actions/checkout@v6 with: ref: ${{ inputs.ref }} diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 0a66e673..685717eb 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -50,7 +50,7 @@ jobs: core.setOutput("state", membership.state); core.setOutput("active", membership.state == "active"); - - uses: actions/checkout@v5 + - uses: actions/checkout@v6 with: ref: "${{ env.GITHUB_SHA }}" fetch-depth: 0 diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index 8385bff6..3129a32b 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -27,7 +27,7 @@ jobs: - uses: hmarr/debug-action@v3.0.0 - name: Checkout Actions Hub - uses: actions/checkout@v5 + uses: actions/checkout@v6 with: token: "${{ secrets.GIT_PAT }}" repository: "HumanSignal/actions-hub" @@ -48,13 +48,13 @@ jobs: github_token: "${{ secrets.GIT_PAT }}" - name: Checkout ML - uses: actions/checkout@v5 + uses: actions/checkout@v6 with: token: "${{ secrets.GIT_PAT }}" path: "${{ env.ML_REPO_PATH }}" - name: Checkout LSO - uses: actions/checkout@v5 + uses: actions/checkout@v6 with: token: "${{ secrets.GIT_PAT }}" repository: "${{ github.repository_owner }}/${{ env.DOCS_REPO_NAME }}" diff --git a/.github/workflows/git-command.yml b/.github/workflows/git-command.yml index 353c7659..62819999 100644 --- a/.github/workflows/git-command.yml +++ b/.github/workflows/git-command.yml @@ -25,14 +25,14 @@ jobs: > [Workflow run](https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}) - name: Checkout - uses: actions/checkout@v5 + uses: actions/checkout@v6 with: token: ${{ secrets.GIT_PAT }} repository: ${{ github.event.client_payload.pull_request.head.repo.full_name }} ref: ${{ github.event.client_payload.pull_request.head.ref }} - name: Checkout Actions Hub - uses: actions/checkout@v5 + uses: actions/checkout@v6 with: token: ${{ secrets.GIT_PAT }} repository: HumanSignal/actions-hub diff --git a/.github/workflows/gitleaks.yml b/.github/workflows/gitleaks.yml index ceeee41d..d54c93eb 100644 --- a/.github/workflows/gitleaks.yml +++ b/.github/workflows/gitleaks.yml @@ -41,7 +41,7 @@ jobs: chmod +x /usr/local/bin/gitleaks - name: Checkout - uses: actions/checkout@v5 + uses: actions/checkout@v6 with: fetch-depth: 0 ref: ${{ github.event.pull_request.head.sha || github.event.after }} diff --git a/.github/workflows/release-cut-off-release-branch.yml b/.github/workflows/release-cut-off-release-branch.yml index 37208dd4..572b6369 100644 --- a/.github/workflows/release-cut-off-release-branch.yml +++ b/.github/workflows/release-cut-off-release-branch.yml @@ -31,7 +31,7 @@ jobs: - uses: hmarr/debug-action@v3.0.0 - name: Checkout - uses: actions/checkout@v5 + uses: actions/checkout@v6 with: token: ${{ secrets.GIT_PAT }} ref: ${{ inputs.ref }} diff --git a/.github/workflows/release-pipeline.yml b/.github/workflows/release-pipeline.yml index 85fb1cdd..78ab9d34 100644 --- a/.github/workflows/release-pipeline.yml +++ b/.github/workflows/release-pipeline.yml @@ -39,7 +39,7 @@ jobs: steps: - uses: hmarr/debug-action@v3.0.0 - - uses: actions/checkout@v5 + - uses: actions/checkout@v6 with: ref: "${{ inputs.ref || github.ref_name }}" diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index ecfd8317..77cf1dd7 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -58,7 +58,7 @@ jobs: echo "BRANCH_NAME=$(echo ${GITHUB_HEAD_REF})" >> $GITHUB_ENV - name: Checkout - uses: actions/checkout@v5 + uses: actions/checkout@v6 with: ref: "${{ env.GITHUB_SHA }}"