diff --git a/.github/workflows/release-preview.yaml b/.github/workflows/release-preview.yaml index cc5ce4b..751697f 100644 --- a/.github/workflows/release-preview.yaml +++ b/.github/workflows/release-preview.yaml @@ -17,7 +17,7 @@ jobs: steps: - name: Checkout - uses: actions/checkout@v4 + uses: actions/checkout@v6 with: fetch-depth: 0 ref: ${{ github.event.pull_request.head.ref }} diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index c2d120f..009cfff 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -13,7 +13,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v5 + uses: actions/checkout@v6 - name: Git pull run: git pull origin main diff --git a/.github/workflows/terraform-checks.yaml b/.github/workflows/terraform-checks.yaml index 2a9c21a..9e027a4 100644 --- a/.github/workflows/terraform-checks.yaml +++ b/.github/workflows/terraform-checks.yaml @@ -33,7 +33,7 @@ jobs: directories: ${{ steps.dirs.outputs.directories }} steps: - name: Checkout - uses: actions/checkout@v5 + uses: actions/checkout@v6 - name: Get root directories id: dirs @@ -56,7 +56,7 @@ jobs: rm -rf /opt/hostedtoolcache/go - name: Checkout - uses: actions/checkout@v5 + uses: actions/checkout@v6 - name: Terraform min/max versions id: minMax @@ -96,7 +96,7 @@ jobs: rm -rf /opt/hostedtoolcache/go - name: Checkout - uses: actions/checkout@v5 + uses: actions/checkout@v6 with: ref: ${{ github.event_name == 'pull_request' && github.head_ref || github.ref }} token: ${{ secrets.GITHUB_TOKEN }} diff --git a/.github/workflows/terraform-docs.yaml b/.github/workflows/terraform-docs.yaml index 45e78f5..646ab6a 100644 --- a/.github/workflows/terraform-docs.yaml +++ b/.github/workflows/terraform-docs.yaml @@ -19,7 +19,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout repository - uses: actions/checkout@v5 + uses: actions/checkout@v6 with: ref: ${{ github.event_name == 'pull_request' && github.head_ref || github.ref }} token: ${{ secrets.GITHUB_TOKEN }} diff --git a/.github/workflows/update-configs.yaml b/.github/workflows/update-configs.yaml index 86623b5..6f8d559 100644 --- a/.github/workflows/update-configs.yaml +++ b/.github/workflows/update-configs.yaml @@ -12,14 +12,14 @@ steps: - name: Checkout template repository - uses: actions/checkout@v5 + uses: actions/checkout@v6 with: repository: infraspecdev/terraform-module-template token: ${{ secrets.GITHUB_TOKEN }} path: template-repo - name: Checkout target repository - uses: actions/checkout@v5 + uses: actions/checkout@v6 with: repository: ${{ github.repository }} token: ${{ secrets.GITHUB_TOKEN }}