From f39ae15ec34fb8a410a0bace5d821d881b31a0b5 Mon Sep 17 00:00:00 2001
From: Wilken Rivera <dev@wilkenrivera.com>
Date: Tue, 7 May 2024 20:44:36 -0400
Subject: [PATCH] Bump required actions to address Node.js 16 deprecation issue

---
 .../actions/build-and-persist-plugin-binary/action.yml    | 2 +-
 .github/workflows/acceptance-tests.yaml                   | 8 ++++----
 .github/workflows/go-validate.yml                         | 2 +-
 .github/workflows/jira.yml                                | 2 +-
 .github/workflows/release.yml                             | 2 +-
 5 files changed, 8 insertions(+), 8 deletions(-)

diff --git a/.github/actions/build-and-persist-plugin-binary/action.yml b/.github/actions/build-and-persist-plugin-binary/action.yml
index 9e8ddc00..8f72d129 100644
--- a/.github/actions/build-and-persist-plugin-binary/action.yml
+++ b/.github/actions/build-and-persist-plugin-binary/action.yml
@@ -17,7 +17,7 @@ runs:
     shell: bash
   - run: rm ./pkg/packer_plugin_azure_${{ inputs.GOOS }}_${{ inputs.GOARCH }}
     shell: bash
-  - uses: actions/upload-artifact@0b7f8abb1508181956e8e162db84b466c27e18ce # v3.1.2
+  - uses: actions/upload-artifact@65462800fd760344b1a7b4382951275a0abb4808 # v4.3.3
     with:
       name: "packer_plugin_azure_${{ inputs.GOOS }}_${{ inputs.GOARCH }}.zip"
       path: "pkg/packer_plugin_azure_${{ inputs.GOOS }}_${{ inputs.GOARCH }}.zip"
diff --git a/.github/workflows/acceptance-tests.yaml b/.github/workflows/acceptance-tests.yaml
index fbcedfb2..60dd16ae 100644
--- a/.github/workflows/acceptance-tests.yaml
+++ b/.github/workflows/acceptance-tests.yaml
@@ -33,12 +33,12 @@ jobs:
     if: needs.secrets-check.outputs.available == 'true'
     steps:
       - name: Install Go
-        uses: actions/setup-go@4d34df0c2316fe8122ab82dc22947d607c0c91f9 # v4.0.0
+        uses: actions/setup-go@0c52d547c9bc32b1aa3301fd7a9cb496313a4491 # v5.0.0
         with:
           go-version: '1.19.5'
 
       - name: Checkout
-        uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab # v3.5.2
+        uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4
       
       - name: Setup `terraform`
         uses: hashicorp/setup-terraform@v2
@@ -85,7 +85,7 @@ jobs:
       # Try and upload logs
       - run: zip arm_failure_logs.zip builder/azure/arm/packer_*txt
         if: ${{ failure() }}
-      - uses: actions/upload-artifact@0b7f8abb1508181956e8e162db84b466c27e18ce # v3.1.2
+      - uses: actions/upload-artifact@65462800fd760344b1a7b4382951275a0abb4808 # v4.3.3
         if: ${{ failure() }}
         with:
           name: "arm_failure_logs.zip"
@@ -94,7 +94,7 @@ jobs:
 
       - run: zip dtl_failure_logs.zip builder/azure/dtl/packer_*txt
         if: ${{ failure() }}
-      - uses: actions/upload-artifact@0b7f8abb1508181956e8e162db84b466c27e18ce # v3.1.2
+      - uses: actions/upload-artifact@65462800fd760344b1a7b4382951275a0abb4808 # v4.3.3
         if: ${{ failure() }}
         with:
           name: "dtl_failure_logs.zip"
diff --git a/.github/workflows/go-validate.yml b/.github/workflows/go-validate.yml
index a397a133..7e67a99b 100644
--- a/.github/workflows/go-validate.yml
+++ b/.github/workflows/go-validate.yml
@@ -49,7 +49,7 @@ jobs:
       - uses: actions/setup-go@0c52d547c9bc32b1aa3301fd7a9cb496313a4491 # v5.0.0
         with:
           go-version: ${{ needs.get-go-version.outputs.go-version }}
-      - uses: golangci/golangci-lint-action@3cfe3a4abbb849e10058ce4af15d205b6da42804 # v4.0.0
+      - uses: golangci/golangci-lint-action@82d40c283aeb1f2b6595839195e95c2d6a49081b # v5.0.0
         with:
           version: v1.54.2
           only-new-issues: true
diff --git a/.github/workflows/jira.yml b/.github/workflows/jira.yml
index e0163a9e..9af28d32 100644
--- a/.github/workflows/jira.yml
+++ b/.github/workflows/jira.yml
@@ -67,7 +67,7 @@ jobs:
                    "labels": ${{ steps.set-ticket-labels.outputs.labels }} }'
       - name: Add tracking comment
         if: steps.create-ticket.outputs.issue != '' && steps.set-ticket-type.outputs.type != 'Invalid'
-        uses: actions/github-script@d7906e4ad0b1822421a7e6a35d5ca353c962f410 # v6.4.1
+        uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea # v7.0.1
         with:
           script: |
             github.rest.issues.createComment({
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index c2fa221f..ec35d84b 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -51,7 +51,7 @@ jobs:
       - name: Install signore
         uses: hashicorp/setup-signore-package@v1
       - name: Run GoReleaser
-        uses: goreleaser/goreleaser-action@f82d6c1c344bcacabba2c841718984797f664a6b # v5.0.0
+        uses: goreleaser/goreleaser-action@7ec5c2b0c6cdda6e8bbb49444bc797dd33d74dd8 # v5.0.0
         with:
           version: latest
           args: release --clean --timeout 120m