From a7c5cffa212104bf03acd8ea8eb28e1de39c7b0e Mon Sep 17 00:00:00 2001 From: paketo-bot Date: Tue, 19 Apr 2022 18:28:37 +0000 Subject: [PATCH] Bump pipeline from 1.21.1 to 1.21.2 Bumps pipeline from 1.21.1 to 1.21.2. Signed-off-by: GitHub --- .github/pipeline-version | 2 +- .github/workflows/create-package.yml | 4 +- .github/workflows/tests.yml | 4 +- .../workflows/update-bellsoft-liberica.yml | 4 +- .github/workflows/update-ca-certificates.yml | 4 +- .github/workflows/update-draft-release.yml | 200 +----------------- .../update-environment-variables.yml | 4 +- .github/workflows/update-executable-jar.yml | 4 +- .github/workflows/update-gradle.yml | 4 +- .github/workflows/update-image-labels.yml | 4 +- .github/workflows/update-leiningen.yml | 4 +- .github/workflows/update-maven.yml | 4 +- .github/workflows/update-native-image.yml | 4 +- .github/workflows/update-pipeline.yml | 4 +- .github/workflows/update-procfile.yml | 4 +- .github/workflows/update-sbt.yml | 4 +- .github/workflows/update-spring-boot.yml | 4 +- .github/workflows/update-syft.yml | 4 +- .github/workflows/update-upx.yml | 4 +- 19 files changed, 42 insertions(+), 228 deletions(-) diff --git a/.github/pipeline-version b/.github/pipeline-version index 28449774..0369d0b1 100644 --- a/.github/pipeline-version +++ b/.github/pipeline-version @@ -1 +1 @@ -1.21.1 +1.21.2 diff --git a/.github/workflows/create-package.yml b/.github/workflows/create-package.yml index 30298ec7..c4355e93 100644 --- a/.github/workflows/create-package.yml +++ b/.github/workflows/create-package.yml @@ -16,7 +16,7 @@ jobs: password: ${{ secrets.JAVA_GCLOUD_SERVICE_ACCOUNT_KEY }} registry: gcr.io username: _json_key - - uses: actions/setup-go@v2 + - uses: actions/setup-go@v3 with: go-version: "1.17" - name: Install create-package @@ -77,7 +77,7 @@ jobs: echo "experimental = true" >> "${HOME}"/.pack/config.toml - uses: actions/checkout@v3 - if: ${{ false }} - uses: actions/cache@v2 + uses: actions/cache@v3 with: key: ${{ runner.os }}-go-${{ hashFiles('**/buildpack.toml', '**/package.toml') }} path: |- diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 5488d0e2..7aa3bcec 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -10,7 +10,7 @@ jobs: runs-on: - ubuntu-latest steps: - - uses: actions/setup-go@v2 + - uses: actions/setup-go@v3 with: go-version: "1.17" - name: Install create-package @@ -51,7 +51,7 @@ jobs: mkdir -p "${HOME}"/.pack echo "experimental = true" >> "${HOME}"/.pack/config.toml - uses: actions/checkout@v3 - - uses: actions/cache@v2 + - uses: actions/cache@v3 with: key: ${{ runner.os }}-go-${{ hashFiles('**/buildpack.toml', '**/package.toml') }} path: |- diff --git a/.github/workflows/update-bellsoft-liberica.yml b/.github/workflows/update-bellsoft-liberica.yml index 68b0b5ae..683fdbd1 100644 --- a/.github/workflows/update-bellsoft-liberica.yml +++ b/.github/workflows/update-bellsoft-liberica.yml @@ -16,7 +16,7 @@ jobs: password: ${{ secrets.JAVA_GCLOUD_SERVICE_ACCOUNT_KEY }} registry: gcr.io username: _json_key - - uses: actions/setup-go@v2 + - uses: actions/setup-go@v3 with: go-version: "1.17" - name: Install update-package-dependency @@ -118,7 +118,7 @@ jobs: echo "::set-output name=version-label::${LABEL}" env: DEPENDENCY: gcr.io/paketo-buildpacks/bellsoft-liberica - - uses: peter-evans/create-pull-request@v3 + - uses: peter-evans/create-pull-request@v4 with: author: ${{ secrets.JAVA_GITHUB_USERNAME }} <${{ secrets.JAVA_GITHUB_USERNAME }}@users.noreply.github.com> body: Bumps [`gcr.io/paketo-buildpacks/bellsoft-liberica`](https://gcr.io/paketo-buildpacks/bellsoft-liberica) from [`${{ steps.package.outputs.old-version }}`](https://gcr.io/paketo-buildpacks/bellsoft-liberica:${{ steps.package.outputs.old-version }}) to [`${{ steps.package.outputs.new-version }}`](https://gcr.io/paketo-buildpacks/bellsoft-liberica:${{ steps.package.outputs.new-version }}). diff --git a/.github/workflows/update-ca-certificates.yml b/.github/workflows/update-ca-certificates.yml index 217aa35a..5cbc4703 100644 --- a/.github/workflows/update-ca-certificates.yml +++ b/.github/workflows/update-ca-certificates.yml @@ -16,7 +16,7 @@ jobs: password: ${{ secrets.JAVA_GCLOUD_SERVICE_ACCOUNT_KEY }} registry: gcr.io username: _json_key - - uses: actions/setup-go@v2 + - uses: actions/setup-go@v3 with: go-version: "1.17" - name: Install update-package-dependency @@ -118,7 +118,7 @@ jobs: echo "::set-output name=version-label::${LABEL}" env: DEPENDENCY: gcr.io/paketo-buildpacks/ca-certificates - - uses: peter-evans/create-pull-request@v3 + - uses: peter-evans/create-pull-request@v4 with: author: ${{ secrets.JAVA_GITHUB_USERNAME }} <${{ secrets.JAVA_GITHUB_USERNAME }}@users.noreply.github.com> body: Bumps [`gcr.io/paketo-buildpacks/ca-certificates`](https://gcr.io/paketo-buildpacks/ca-certificates) from [`${{ steps.package.outputs.old-version }}`](https://gcr.io/paketo-buildpacks/ca-certificates:${{ steps.package.outputs.old-version }}) to [`${{ steps.package.outputs.new-version }}`](https://gcr.io/paketo-buildpacks/ca-certificates:${{ steps.package.outputs.new-version }}). diff --git a/.github/workflows/update-draft-release.yml b/.github/workflows/update-draft-release.yml index bb1bba40..daee1705 100644 --- a/.github/workflows/update-draft-release.yml +++ b/.github/workflows/update-draft-release.yml @@ -20,198 +20,12 @@ jobs: password: ${{ secrets.JAVA_GCLOUD_SERVICE_ACCOUNT_KEY }} registry: gcr.io username: _json_key - - name: Install crane - run: | - #!/usr/bin/env bash - - set -euo pipefail - - echo "Installing crane ${CRANE_VERSION}" - - mkdir -p "${HOME}"/bin - echo "${HOME}/bin" >> "${GITHUB_PATH}" - - curl \ - --show-error \ - --silent \ - --location \ - "https://github.com/google/go-containerregistry/releases/download/v${CRANE_VERSION}/go-containerregistry_Linux_x86_64.tar.gz" \ - | tar -C "${HOME}/bin" -xz crane - env: - CRANE_VERSION: 0.8.0 - - name: Install yj - run: | - #!/usr/bin/env bash - - set -euo pipefail - - echo "Installing yj ${YJ_VERSION}" - - mkdir -p "${HOME}"/bin - echo "${HOME}/bin" >> "${GITHUB_PATH}" - - curl \ - --location \ - --show-error \ - --silent \ - --output "${HOME}"/bin/yj \ - "https://github.com/sclevine/yj/releases/download/v${YJ_VERSION}/yj-linux" - - chmod +x "${HOME}"/bin/yj - env: - YJ_VERSION: 5.0.0 - uses: actions/checkout@v3 - name: Update draft release with buildpack information - run: | - #!/usr/bin/env bash - - set -euo pipefail - - PAYLOAD="{}" - - if [[ -e buildpack.toml ]]; then - PAYLOAD=$(jq -n -r \ - --argjson PAYLOAD "${PAYLOAD}" \ - --argjson BUILDPACK "$(yj -tj < buildpack.toml)" \ - '$PAYLOAD | .primary = $BUILDPACK') - fi - - if [[ -e builder.toml ]]; then - PAYLOAD=$(jq -n -r \ - --argjson PAYLOAD "${PAYLOAD}" \ - --argjson BUILDER "$(yj -tj < builder.toml)" \ - '$PAYLOAD | .primary = $BUILDER') - - for BUILDPACK in $( - jq -n -r \ - --argjson PAYLOAD "${PAYLOAD}" \ - '$PAYLOAD.primary.buildpacks[].uri | capture("(?:.+://)?(?.+)") | .image' - ); do - crane export "${BUILDPACK}" - | tar xf - --absolute-names --strip-components 1 --wildcards "/cnb/buildpacks/*/*/buildpack.toml" - done - fi - - if [[ -e package.toml ]]; then - for PACKAGE in $(yj -t < package.toml | jq -r '.dependencies[].uri | capture("(?:.+://)?(?.+)") | .image'); do - crane export "${PACKAGE}" - | tar xf - --absolute-names --strip-components 1 --wildcards "/cnb/buildpacks/*/*/buildpack.toml" - done - fi - - if [[ -d buildpacks ]]; then - while IFS= read -r -d '' FILE; do - PAYLOAD=$(jq -n -r \ - --argjson PAYLOAD "${PAYLOAD}" \ - --argjson BUILDPACK "$(yj -tj < "${FILE}")" \ - '$PAYLOAD | .buildpacks += [ $BUILDPACK ]') - done < <(find buildpacks -name buildpack.toml -print0) - fi - - jq -n -r \ - --argjson PAYLOAD "${PAYLOAD}" \ - --arg RELEASE_NAME "${RELEASE_NAME}" \ - '( select($PAYLOAD.primary.buildpack.name) | "\($PAYLOAD.primary.buildpack.name) \($RELEASE_NAME)" ) // "\($RELEASE_NAME)"' \ - > "${HOME}"/name - - jq -n -r \ - --argjson PAYLOAD "${PAYLOAD}" \ - --arg RELEASE_BODY "${RELEASE_BODY}" \ - ' - def id(b): - select(b.buildpack.id) | "**ID**: `\(b.buildpack.id)`" - ; - - def included_buildpackages(b): [ - "#### Included Buildpackages:", - "Name | ID | Version", - ":--- | :- | :------", - ( b | sort_by(.buildpack.name | ascii_downcase) | map("\(.buildpack.name) | `\(.buildpack.id)` | `\(.buildpack.version)`") ), - "" - ]; - - def stacks(s): [ - "#### Supported Stacks:", - ( s | sort_by(.id | ascii_downcase) | map("- `\(.id)`") ), - "" - ]; - - def default_dependency_versions(d): [ - "#### Default Dependency Versions:", - "ID | Version", - ":- | :------", - ( d | to_entries | sort_by(.key | ascii_downcase) | map("`\(.key)` | `\(.value)`") ), - "" - ]; - - def dependencies(d): [ - "#### Dependencies:", - "Name | Version | SHA256", - ":--- | :------ | :-----", - ( d | sort_by(.name // .id | ascii_downcase) | map("\(.name // .id) | `\(.version)` | `\(.sha256)`")), - "" - ]; - - def order_groupings(o): [ - "
", - "Order Groupings", - "", - ( o | map([ - "ID | Version | Optional", - ":- | :------ | :-------", - ( .group | map([ "`\(.id)` | ", (select(.version) | "`\(.version)`"), ( select(.optional) | "| `\(.optional)`" ) ] | join(" ")) ), - "" - ])), - "
", - "" - ]; - - def primary_buildpack(p): [ - id(p.primary), - "**Digest**: ", - "", - ( select(p.buildpacks) | included_buildpackages(p.buildpacks) ), - ( select(p.primary.stacks) | stacks(p.primary.stacks) ), - ( select(p.primary.metadata."default-versions") | default_dependency_versions(p.primary.metadata."default-versions") ), - ( select(p.primary.metadata.dependencies) | dependencies(p.primary.metadata.dependencies) ), - ( select(p.primary.order) | order_groupings(p.primary.order) ), - ( select(p.buildpacks) | "---" ), - "" - ]; - - def nested_buildpack(b): [ - "
", - "\(b.buildpack.name) \(b.buildpack.version)", - "", - id(b), - "", - ( select(b.stacks) | stacks(b.stacks) ), - ( select(b.metadata."default-versions") | default_dependency_versions(b.metadata."default-versions") ), - ( select(b.metadata.dependencies) | dependencies(b.metadata.dependencies) ), - ( select(b.order) | order_groupings(b.order) ), - "---", - "", - "
", - "" - ]; - - $PAYLOAD | [ - primary_buildpack(.), - ( select(.buildpacks) | [ .buildpacks | sort_by(.buildpack.name | ascii_downcase) | map(nested_buildpack(.)) ] ), - "", - "---", - "", - $RELEASE_BODY - ] | flatten | join("\n") - ' > "${HOME}"/body - - gh api \ - --method PATCH \ - "/repos/:owner/:repo/releases/${RELEASE_ID}" \ - --field "tag_name=${RELEASE_TAG_NAME}" \ - --field "name=@${HOME}/name" \ - --field "body=@${HOME}/body" - env: - GITHUB_TOKEN: ${{ secrets.JAVA_GITHUB_TOKEN }} - RELEASE_BODY: ${{ steps.release-drafter.outputs.body }} - RELEASE_ID: ${{ steps.release-drafter.outputs.id }} - RELEASE_NAME: ${{ steps.release-drafter.outputs.name }} - RELEASE_TAG_NAME: ${{ steps.release-drafter.outputs.tag_name }} + uses: docker://ghcr.io/paketo-buildpacks/actions/draft-release:main + with: + github_token: ${{ secrets.JAVA_GITHUB_TOKEN }} + release_body: ${{ steps.release-drafter.outputs.body }} + release_id: ${{ steps.release-drafter.outputs.id }} + release_name: ${{ steps.release-drafter.outputs.name }} + release_tag_name: ${{ steps.release-drafter.outputs.tag_name }} diff --git a/.github/workflows/update-environment-variables.yml b/.github/workflows/update-environment-variables.yml index 894f051d..43cb77ce 100644 --- a/.github/workflows/update-environment-variables.yml +++ b/.github/workflows/update-environment-variables.yml @@ -16,7 +16,7 @@ jobs: password: ${{ secrets.JAVA_GCLOUD_SERVICE_ACCOUNT_KEY }} registry: gcr.io username: _json_key - - uses: actions/setup-go@v2 + - uses: actions/setup-go@v3 with: go-version: "1.17" - name: Install update-package-dependency @@ -118,7 +118,7 @@ jobs: echo "::set-output name=version-label::${LABEL}" env: DEPENDENCY: gcr.io/paketo-buildpacks/environment-variables - - uses: peter-evans/create-pull-request@v3 + - uses: peter-evans/create-pull-request@v4 with: author: ${{ secrets.JAVA_GITHUB_USERNAME }} <${{ secrets.JAVA_GITHUB_USERNAME }}@users.noreply.github.com> body: Bumps [`gcr.io/paketo-buildpacks/environment-variables`](https://gcr.io/paketo-buildpacks/environment-variables) from [`${{ steps.package.outputs.old-version }}`](https://gcr.io/paketo-buildpacks/environment-variables:${{ steps.package.outputs.old-version }}) to [`${{ steps.package.outputs.new-version }}`](https://gcr.io/paketo-buildpacks/environment-variables:${{ steps.package.outputs.new-version }}). diff --git a/.github/workflows/update-executable-jar.yml b/.github/workflows/update-executable-jar.yml index f8c5fd03..b5bcbe65 100644 --- a/.github/workflows/update-executable-jar.yml +++ b/.github/workflows/update-executable-jar.yml @@ -16,7 +16,7 @@ jobs: password: ${{ secrets.JAVA_GCLOUD_SERVICE_ACCOUNT_KEY }} registry: gcr.io username: _json_key - - uses: actions/setup-go@v2 + - uses: actions/setup-go@v3 with: go-version: "1.17" - name: Install update-package-dependency @@ -118,7 +118,7 @@ jobs: echo "::set-output name=version-label::${LABEL}" env: DEPENDENCY: gcr.io/paketo-buildpacks/executable-jar - - uses: peter-evans/create-pull-request@v3 + - uses: peter-evans/create-pull-request@v4 with: author: ${{ secrets.JAVA_GITHUB_USERNAME }} <${{ secrets.JAVA_GITHUB_USERNAME }}@users.noreply.github.com> body: Bumps [`gcr.io/paketo-buildpacks/executable-jar`](https://gcr.io/paketo-buildpacks/executable-jar) from [`${{ steps.package.outputs.old-version }}`](https://gcr.io/paketo-buildpacks/executable-jar:${{ steps.package.outputs.old-version }}) to [`${{ steps.package.outputs.new-version }}`](https://gcr.io/paketo-buildpacks/executable-jar:${{ steps.package.outputs.new-version }}). diff --git a/.github/workflows/update-gradle.yml b/.github/workflows/update-gradle.yml index 39210f96..33842fa3 100644 --- a/.github/workflows/update-gradle.yml +++ b/.github/workflows/update-gradle.yml @@ -16,7 +16,7 @@ jobs: password: ${{ secrets.JAVA_GCLOUD_SERVICE_ACCOUNT_KEY }} registry: gcr.io username: _json_key - - uses: actions/setup-go@v2 + - uses: actions/setup-go@v3 with: go-version: "1.17" - name: Install update-package-dependency @@ -118,7 +118,7 @@ jobs: echo "::set-output name=version-label::${LABEL}" env: DEPENDENCY: gcr.io/paketo-buildpacks/gradle - - uses: peter-evans/create-pull-request@v3 + - uses: peter-evans/create-pull-request@v4 with: author: ${{ secrets.JAVA_GITHUB_USERNAME }} <${{ secrets.JAVA_GITHUB_USERNAME }}@users.noreply.github.com> body: Bumps [`gcr.io/paketo-buildpacks/gradle`](https://gcr.io/paketo-buildpacks/gradle) from [`${{ steps.package.outputs.old-version }}`](https://gcr.io/paketo-buildpacks/gradle:${{ steps.package.outputs.old-version }}) to [`${{ steps.package.outputs.new-version }}`](https://gcr.io/paketo-buildpacks/gradle:${{ steps.package.outputs.new-version }}). diff --git a/.github/workflows/update-image-labels.yml b/.github/workflows/update-image-labels.yml index 668601d9..e02dfc0a 100644 --- a/.github/workflows/update-image-labels.yml +++ b/.github/workflows/update-image-labels.yml @@ -16,7 +16,7 @@ jobs: password: ${{ secrets.JAVA_GCLOUD_SERVICE_ACCOUNT_KEY }} registry: gcr.io username: _json_key - - uses: actions/setup-go@v2 + - uses: actions/setup-go@v3 with: go-version: "1.17" - name: Install update-package-dependency @@ -118,7 +118,7 @@ jobs: echo "::set-output name=version-label::${LABEL}" env: DEPENDENCY: gcr.io/paketo-buildpacks/image-labels - - uses: peter-evans/create-pull-request@v3 + - uses: peter-evans/create-pull-request@v4 with: author: ${{ secrets.JAVA_GITHUB_USERNAME }} <${{ secrets.JAVA_GITHUB_USERNAME }}@users.noreply.github.com> body: Bumps [`gcr.io/paketo-buildpacks/image-labels`](https://gcr.io/paketo-buildpacks/image-labels) from [`${{ steps.package.outputs.old-version }}`](https://gcr.io/paketo-buildpacks/image-labels:${{ steps.package.outputs.old-version }}) to [`${{ steps.package.outputs.new-version }}`](https://gcr.io/paketo-buildpacks/image-labels:${{ steps.package.outputs.new-version }}). diff --git a/.github/workflows/update-leiningen.yml b/.github/workflows/update-leiningen.yml index 023a278a..38f60d82 100644 --- a/.github/workflows/update-leiningen.yml +++ b/.github/workflows/update-leiningen.yml @@ -16,7 +16,7 @@ jobs: password: ${{ secrets.JAVA_GCLOUD_SERVICE_ACCOUNT_KEY }} registry: gcr.io username: _json_key - - uses: actions/setup-go@v2 + - uses: actions/setup-go@v3 with: go-version: "1.17" - name: Install update-package-dependency @@ -118,7 +118,7 @@ jobs: echo "::set-output name=version-label::${LABEL}" env: DEPENDENCY: gcr.io/paketo-buildpacks/leiningen - - uses: peter-evans/create-pull-request@v3 + - uses: peter-evans/create-pull-request@v4 with: author: ${{ secrets.JAVA_GITHUB_USERNAME }} <${{ secrets.JAVA_GITHUB_USERNAME }}@users.noreply.github.com> body: Bumps [`gcr.io/paketo-buildpacks/leiningen`](https://gcr.io/paketo-buildpacks/leiningen) from [`${{ steps.package.outputs.old-version }}`](https://gcr.io/paketo-buildpacks/leiningen:${{ steps.package.outputs.old-version }}) to [`${{ steps.package.outputs.new-version }}`](https://gcr.io/paketo-buildpacks/leiningen:${{ steps.package.outputs.new-version }}). diff --git a/.github/workflows/update-maven.yml b/.github/workflows/update-maven.yml index 41f5b7ea..5340874e 100644 --- a/.github/workflows/update-maven.yml +++ b/.github/workflows/update-maven.yml @@ -16,7 +16,7 @@ jobs: password: ${{ secrets.JAVA_GCLOUD_SERVICE_ACCOUNT_KEY }} registry: gcr.io username: _json_key - - uses: actions/setup-go@v2 + - uses: actions/setup-go@v3 with: go-version: "1.17" - name: Install update-package-dependency @@ -118,7 +118,7 @@ jobs: echo "::set-output name=version-label::${LABEL}" env: DEPENDENCY: gcr.io/paketo-buildpacks/maven - - uses: peter-evans/create-pull-request@v3 + - uses: peter-evans/create-pull-request@v4 with: author: ${{ secrets.JAVA_GITHUB_USERNAME }} <${{ secrets.JAVA_GITHUB_USERNAME }}@users.noreply.github.com> body: Bumps [`gcr.io/paketo-buildpacks/maven`](https://gcr.io/paketo-buildpacks/maven) from [`${{ steps.package.outputs.old-version }}`](https://gcr.io/paketo-buildpacks/maven:${{ steps.package.outputs.old-version }}) to [`${{ steps.package.outputs.new-version }}`](https://gcr.io/paketo-buildpacks/maven:${{ steps.package.outputs.new-version }}). diff --git a/.github/workflows/update-native-image.yml b/.github/workflows/update-native-image.yml index 2ecbb9e0..b23dd8c1 100644 --- a/.github/workflows/update-native-image.yml +++ b/.github/workflows/update-native-image.yml @@ -16,7 +16,7 @@ jobs: password: ${{ secrets.JAVA_GCLOUD_SERVICE_ACCOUNT_KEY }} registry: gcr.io username: _json_key - - uses: actions/setup-go@v2 + - uses: actions/setup-go@v3 with: go-version: "1.17" - name: Install update-package-dependency @@ -118,7 +118,7 @@ jobs: echo "::set-output name=version-label::${LABEL}" env: DEPENDENCY: gcr.io/paketo-buildpacks/native-image - - uses: peter-evans/create-pull-request@v3 + - uses: peter-evans/create-pull-request@v4 with: author: ${{ secrets.JAVA_GITHUB_USERNAME }} <${{ secrets.JAVA_GITHUB_USERNAME }}@users.noreply.github.com> body: Bumps [`gcr.io/paketo-buildpacks/native-image`](https://gcr.io/paketo-buildpacks/native-image) from [`${{ steps.package.outputs.old-version }}`](https://gcr.io/paketo-buildpacks/native-image:${{ steps.package.outputs.old-version }}) to [`${{ steps.package.outputs.new-version }}`](https://gcr.io/paketo-buildpacks/native-image:${{ steps.package.outputs.new-version }}). diff --git a/.github/workflows/update-pipeline.yml b/.github/workflows/update-pipeline.yml index 9468b6f3..32c4932a 100644 --- a/.github/workflows/update-pipeline.yml +++ b/.github/workflows/update-pipeline.yml @@ -14,7 +14,7 @@ jobs: runs-on: - ubuntu-latest steps: - - uses: actions/setup-go@v2 + - uses: actions/setup-go@v3 with: go-version: "1.17" - name: Install octo @@ -62,7 +62,7 @@ jobs: env: DESCRIPTOR: .github/pipeline-descriptor.yml GITHUB_TOKEN: ${{ secrets.JAVA_GITHUB_TOKEN }} - - uses: peter-evans/create-pull-request@v3 + - uses: peter-evans/create-pull-request@v4 with: author: ${{ secrets.JAVA_GITHUB_USERNAME }} <${{ secrets.JAVA_GITHUB_USERNAME }}@users.noreply.github.com> body: |- diff --git a/.github/workflows/update-procfile.yml b/.github/workflows/update-procfile.yml index 1ee563ae..96a72f95 100644 --- a/.github/workflows/update-procfile.yml +++ b/.github/workflows/update-procfile.yml @@ -16,7 +16,7 @@ jobs: password: ${{ secrets.JAVA_GCLOUD_SERVICE_ACCOUNT_KEY }} registry: gcr.io username: _json_key - - uses: actions/setup-go@v2 + - uses: actions/setup-go@v3 with: go-version: "1.17" - name: Install update-package-dependency @@ -118,7 +118,7 @@ jobs: echo "::set-output name=version-label::${LABEL}" env: DEPENDENCY: gcr.io/paketo-buildpacks/procfile - - uses: peter-evans/create-pull-request@v3 + - uses: peter-evans/create-pull-request@v4 with: author: ${{ secrets.JAVA_GITHUB_USERNAME }} <${{ secrets.JAVA_GITHUB_USERNAME }}@users.noreply.github.com> body: Bumps [`gcr.io/paketo-buildpacks/procfile`](https://gcr.io/paketo-buildpacks/procfile) from [`${{ steps.package.outputs.old-version }}`](https://gcr.io/paketo-buildpacks/procfile:${{ steps.package.outputs.old-version }}) to [`${{ steps.package.outputs.new-version }}`](https://gcr.io/paketo-buildpacks/procfile:${{ steps.package.outputs.new-version }}). diff --git a/.github/workflows/update-sbt.yml b/.github/workflows/update-sbt.yml index 2328d833..53203bc1 100644 --- a/.github/workflows/update-sbt.yml +++ b/.github/workflows/update-sbt.yml @@ -16,7 +16,7 @@ jobs: password: ${{ secrets.JAVA_GCLOUD_SERVICE_ACCOUNT_KEY }} registry: gcr.io username: _json_key - - uses: actions/setup-go@v2 + - uses: actions/setup-go@v3 with: go-version: "1.17" - name: Install update-package-dependency @@ -118,7 +118,7 @@ jobs: echo "::set-output name=version-label::${LABEL}" env: DEPENDENCY: gcr.io/paketo-buildpacks/sbt - - uses: peter-evans/create-pull-request@v3 + - uses: peter-evans/create-pull-request@v4 with: author: ${{ secrets.JAVA_GITHUB_USERNAME }} <${{ secrets.JAVA_GITHUB_USERNAME }}@users.noreply.github.com> body: Bumps [`gcr.io/paketo-buildpacks/sbt`](https://gcr.io/paketo-buildpacks/sbt) from [`${{ steps.package.outputs.old-version }}`](https://gcr.io/paketo-buildpacks/sbt:${{ steps.package.outputs.old-version }}) to [`${{ steps.package.outputs.new-version }}`](https://gcr.io/paketo-buildpacks/sbt:${{ steps.package.outputs.new-version }}). diff --git a/.github/workflows/update-spring-boot.yml b/.github/workflows/update-spring-boot.yml index 3ed9ef4f..efa70705 100644 --- a/.github/workflows/update-spring-boot.yml +++ b/.github/workflows/update-spring-boot.yml @@ -16,7 +16,7 @@ jobs: password: ${{ secrets.JAVA_GCLOUD_SERVICE_ACCOUNT_KEY }} registry: gcr.io username: _json_key - - uses: actions/setup-go@v2 + - uses: actions/setup-go@v3 with: go-version: "1.17" - name: Install update-package-dependency @@ -118,7 +118,7 @@ jobs: echo "::set-output name=version-label::${LABEL}" env: DEPENDENCY: gcr.io/paketo-buildpacks/spring-boot - - uses: peter-evans/create-pull-request@v3 + - uses: peter-evans/create-pull-request@v4 with: author: ${{ secrets.JAVA_GITHUB_USERNAME }} <${{ secrets.JAVA_GITHUB_USERNAME }}@users.noreply.github.com> body: Bumps [`gcr.io/paketo-buildpacks/spring-boot`](https://gcr.io/paketo-buildpacks/spring-boot) from [`${{ steps.package.outputs.old-version }}`](https://gcr.io/paketo-buildpacks/spring-boot:${{ steps.package.outputs.old-version }}) to [`${{ steps.package.outputs.new-version }}`](https://gcr.io/paketo-buildpacks/spring-boot:${{ steps.package.outputs.new-version }}). diff --git a/.github/workflows/update-syft.yml b/.github/workflows/update-syft.yml index d44a95d3..db0d6472 100644 --- a/.github/workflows/update-syft.yml +++ b/.github/workflows/update-syft.yml @@ -16,7 +16,7 @@ jobs: password: ${{ secrets.JAVA_GCLOUD_SERVICE_ACCOUNT_KEY }} registry: gcr.io username: _json_key - - uses: actions/setup-go@v2 + - uses: actions/setup-go@v3 with: go-version: "1.17" - name: Install update-package-dependency @@ -118,7 +118,7 @@ jobs: echo "::set-output name=version-label::${LABEL}" env: DEPENDENCY: gcr.io/paketo-buildpacks/syft - - uses: peter-evans/create-pull-request@v3 + - uses: peter-evans/create-pull-request@v4 with: author: ${{ secrets.JAVA_GITHUB_USERNAME }} <${{ secrets.JAVA_GITHUB_USERNAME }}@users.noreply.github.com> body: Bumps [`gcr.io/paketo-buildpacks/syft`](https://gcr.io/paketo-buildpacks/syft) from [`${{ steps.package.outputs.old-version }}`](https://gcr.io/paketo-buildpacks/syft:${{ steps.package.outputs.old-version }}) to [`${{ steps.package.outputs.new-version }}`](https://gcr.io/paketo-buildpacks/syft:${{ steps.package.outputs.new-version }}). diff --git a/.github/workflows/update-upx.yml b/.github/workflows/update-upx.yml index afdf8139..31e8a2f0 100644 --- a/.github/workflows/update-upx.yml +++ b/.github/workflows/update-upx.yml @@ -16,7 +16,7 @@ jobs: password: ${{ secrets.JAVA_GCLOUD_SERVICE_ACCOUNT_KEY }} registry: gcr.io username: _json_key - - uses: actions/setup-go@v2 + - uses: actions/setup-go@v3 with: go-version: "1.17" - name: Install update-package-dependency @@ -118,7 +118,7 @@ jobs: echo "::set-output name=version-label::${LABEL}" env: DEPENDENCY: gcr.io/paketo-buildpacks/upx - - uses: peter-evans/create-pull-request@v3 + - uses: peter-evans/create-pull-request@v4 with: author: ${{ secrets.JAVA_GITHUB_USERNAME }} <${{ secrets.JAVA_GITHUB_USERNAME }}@users.noreply.github.com> body: Bumps [`gcr.io/paketo-buildpacks/upx`](https://gcr.io/paketo-buildpacks/upx) from [`${{ steps.package.outputs.old-version }}`](https://gcr.io/paketo-buildpacks/upx:${{ steps.package.outputs.old-version }}) to [`${{ steps.package.outputs.new-version }}`](https://gcr.io/paketo-buildpacks/upx:${{ steps.package.outputs.new-version }}).