Skip to content

Commit

Permalink
Update usage of checkout action to v4
Browse files Browse the repository at this point in the history
Updates to checkout@v4 in workflows and examples
  • Loading branch information
dflook committed Jun 1, 2024
1 parent ea260cb commit 41a7242
Show file tree
Hide file tree
Showing 59 changed files with 195 additions and 195 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/base-image.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
DOCKER_TOKEN: ${{ secrets.DOCKER_TOKEN }}
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Registry login
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/labels.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Run Labeler
uses: crazy-max/ghaction-github-labeler@52525cb66833763f651fc34e244e4f73b6e07ff5
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pull_request_review.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Plan
uses: ./terraform-plan
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pull_request_target.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Plan
uses: ./terraform-plan
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
GITHUB_TOKEN: ${{ secrets.RELEASE_GITHUB_TOKEN }}
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Check tofu actions are up to date
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
GITHUB_TOKEN: ${{ secrets.RELEASE_GITHUB_TOKEN }}
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Check tofu actions are up to date
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/retain-images.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
name: Pull images
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 0

Expand Down
54 changes: 27 additions & 27 deletions .github/workflows/test-apply.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Apply
uses: ./terraform-apply
Expand Down Expand Up @@ -48,7 +48,7 @@ jobs:
name: Auto Approve plan error
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Apply
uses: ./terraform-apply
Expand Down Expand Up @@ -94,7 +94,7 @@ jobs:
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Plan
uses: ./terraform-plan
Expand Down Expand Up @@ -143,7 +143,7 @@ jobs:
name: Apply without token
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Apply
uses: ./terraform-apply
Expand Down Expand Up @@ -176,7 +176,7 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Plan
uses: ./terraform-plan
Expand Down Expand Up @@ -249,7 +249,7 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Plan
uses: ./terraform-plan
Expand Down Expand Up @@ -340,7 +340,7 @@ jobs:
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Plan
uses: ./terraform-plan
Expand Down Expand Up @@ -431,7 +431,7 @@ jobs:
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Plan
uses: ./terraform-plan
Expand Down Expand Up @@ -520,7 +520,7 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Plan
uses: ./terraform-plan
Expand Down Expand Up @@ -570,7 +570,7 @@ jobs:
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Apply
uses: ./terraform-apply
Expand Down Expand Up @@ -608,7 +608,7 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Apply
uses: ./terraform-apply
Expand Down Expand Up @@ -647,7 +647,7 @@ jobs:
GITHUB_TOKEN: ${{ secrets.USER_GITHUB_TOKEN }}
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Plan
uses: ./terraform-plan
Expand Down Expand Up @@ -691,7 +691,7 @@ jobs:
GITHUB_TOKEN: ${{ secrets.FINE_PAT_GITHUB_TOKEN }}
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Plan
uses: ./terraform-plan
Expand Down Expand Up @@ -736,7 +736,7 @@ jobs:
TERRAFORM_ACTIONS_GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Plan
uses: ./terraform-plan
Expand Down Expand Up @@ -780,7 +780,7 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Plan
uses: ./terraform-plan
Expand Down Expand Up @@ -824,7 +824,7 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Plan 1
uses: ./terraform-plan
Expand Down Expand Up @@ -896,7 +896,7 @@ jobs:
echo "testing command 2"
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Plan
uses: ./terraform-plan
Expand Down Expand Up @@ -925,7 +925,7 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Plan
uses: ./terraform-plan
Expand All @@ -950,7 +950,7 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Plan
uses: dflook/terraform-plan@v1.22.2
Expand All @@ -975,7 +975,7 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Plan
uses: ./terraform-plan
Expand All @@ -996,7 +996,7 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Plan
uses: ./terraform-plan
Expand Down Expand Up @@ -1035,7 +1035,7 @@ jobs:
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Plan
uses: dflook/terraform-plan@v1.31.0
Expand All @@ -1058,7 +1058,7 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Apply
uses: ./terraform-apply
Expand All @@ -1085,7 +1085,7 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Apply
uses: ./terraform-apply
Expand Down Expand Up @@ -1114,7 +1114,7 @@ jobs:
GITHUB_TOKEN: ${{ secrets.USER_GITHUB_TOKEN }}
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Plan
uses: ./terraform-plan
Expand Down Expand Up @@ -1162,7 +1162,7 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Plan
uses: ./terraform-plan
Expand All @@ -1181,7 +1181,7 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Plan
uses: ./terraform-plan
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/test-binary-plan.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
name: Missing plan
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Apply
uses: ./terraform-apply
Expand All @@ -34,7 +34,7 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Plan
uses: ./terraform-plan
Expand All @@ -56,7 +56,7 @@ jobs:
name: Apply auto approved changes
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Plan
uses: ./terraform-plan
Expand All @@ -81,7 +81,7 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Plan
uses: ./terraform-plan
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/test-changes-only.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Plan without changes
uses: ./terraform-plan
Expand Down Expand Up @@ -51,7 +51,7 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Plan changes
uses: ./terraform-plan
Expand Down Expand Up @@ -114,7 +114,7 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Plan no changes
uses: ./terraform-plan
Expand Down Expand Up @@ -164,7 +164,7 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Plan Changes
uses: ./terraform-plan
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/test-check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
name: No changes
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Check
uses: ./terraform-check
Expand All @@ -29,7 +29,7 @@ jobs:
name: Changes
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Check
uses: ./terraform-check
Expand Down
Loading

0 comments on commit 41a7242

Please sign in to comment.