From d4320d92371bed7e9df3fd1231300b8c5192f592 Mon Sep 17 00:00:00 2001 From: Forest Eckhardt Date: Thu, 12 Dec 2024 15:59:05 +0000 Subject: [PATCH] Fixes some formatting errors --- actions/stack/release-notes/entrypoint/main.go | 4 ++-- stack/.github/workflows/create-release.yml | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/actions/stack/release-notes/entrypoint/main.go b/actions/stack/release-notes/entrypoint/main.go index a92292b5..6db7f825 100644 --- a/actions/stack/release-notes/entrypoint/main.go +++ b/actions/stack/release-notes/entrypoint/main.go @@ -70,7 +70,7 @@ func main() { flag.StringVar(&config.ReceiptsShowLimit, "receipts-show-limit", "", "Integer which defines the limit of whether it should show or not the receipts array of each image") flag.Parse() - absolute, err = filepath.Abs(config.BuildPackagesAddedJSON) + absolute, err := filepath.Abs(config.BuildPackagesAddedJSON) if err != nil { log.Fatalf("Failed to create absolute path for %s", config.BuildPackagesAddedJSON) } @@ -122,7 +122,7 @@ func main() { ReceiptsShowLimit int } - err := json.Unmarshal([]byte(fixEmptyArray(config.PatchedJSON)), &contents.PatchedArray) + err = json.Unmarshal([]byte(fixEmptyArray(config.PatchedJSON)), &contents.PatchedArray) if err != nil { log.Fatalf("failed unmarshalling patched USNs: %s", err.Error()) } diff --git a/stack/.github/workflows/create-release.yml b/stack/.github/workflows/create-release.yml index 0b9fc2a2..d25dcff6 100644 --- a/stack/.github/workflows/create-release.yml +++ b/stack/.github/workflows/create-release.yml @@ -332,9 +332,9 @@ jobs: env: BUILD_ADDED: "/github/workspace/${{ env.BUILD_DIFF_ADDED_FILENAME }}" - BUILD_MODIFIED: "/github/workspace/${{ env.BUILD_DIFF_MODIFIED_FILENAME }}" + BUILD_MODIFIED: "/github/workspace/${{ env.BUILD_DIFF_MODIFIED_FILENAME }}" RUN_ADDED: "/github/workspace/${{ env.RUN_DIFF_ADDED_FILENAME }}" - RUN_MODIFIED: "/github/workspace/${{ env.RUN_DIFF_MODIFIED_FILENAME }}" + RUN_MODIFIED: "/github/workspace/${{ env.RUN_DIFF_MODIFIED_FILENAME }}" run_if_packages_changed: name: Run If Packages Changed @@ -475,10 +475,10 @@ jobs: build_image: "paketobuildpacks/build-${{ steps.repo_name.outputs.registry_repo_name }}:${{ steps.tag.outputs.tag }}" run_image: "paketobuildpacks/run-${{ steps.repo_name.outputs.registry_repo_name }}:${{ steps.tag.outputs.tag }}" build_packages_added: "/github/workspace/${{ env.BUILD_DIFF_ADDED_FILENAME }}" - build_packages_modified: "/github/workspace/${{ env.BUILD_DIFF_MODIFIED_FILENAME }}" + build_packages_modified: "/github/workspace/${{ env.BUILD_DIFF_MODIFIED_FILENAME }}" build_packages_removed_with_force: "/github/workspace/${{ env.BUILD_DIFF_REMOVED_FILENAME }}" run_packages_added: "/github/workspace/${{ env.RUN_DIFF_ADDED_FILENAME }}" - run_packages_modified: "/github/workspace/${{ env.RUN_DIFF_MODIFIED_FILENAME }}" + run_packages_modified: "/github/workspace/${{ env.RUN_DIFF_MODIFIED_FILENAME }}" run_packages_removed_with_force: "/github/workspace/${{ env.RUN_DIFF_REMOVED_FILENAME }}" patched_usns: ${{ needs.poll_usns.outputs.usns }}