Skip to content

Commit

Permalink
Fixes some formatting errors
Browse files Browse the repository at this point in the history
  • Loading branch information
ForestEckhardt committed Dec 16, 2024
1 parent f91a73b commit d4320d9
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions actions/stack/release-notes/entrypoint/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}
Expand Down Expand Up @@ -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())
}
Expand Down
8 changes: 4 additions & 4 deletions stack/.github/workflows/create-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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 }}

Expand Down

0 comments on commit d4320d9

Please sign in to comment.