From 38ff61e59394817bc573c233878875ce8c1f592e Mon Sep 17 00:00:00 2001 From: Daniel Mikusa Date: Fri, 7 Apr 2023 13:22:09 -0400 Subject: [PATCH] Fix #1086 Bumps peter-evans/create-pull-request and mheap/github-action-required-labels to their latest major versions. Signed-off-by: Daniel Mikusa --- .github/workflows/pb-minimal-labels.yml | 4 ++-- .github/workflows/pb-update-go.yml | 2 +- .github/workflows/pb-update-pipeline.yml | 2 +- octo/builder_dependencies.go | 4 ++-- octo/buildpack_dependencies.go | 2 +- octo/labels.go | 4 ++-- octo/package_dependencies.go | 2 +- octo/update_go.go | 2 +- octo/update_pipeline.go | 2 +- 9 files changed, 12 insertions(+), 12 deletions(-) diff --git a/.github/workflows/pb-minimal-labels.yml b/.github/workflows/pb-minimal-labels.yml index 39c568eb..75ea2ac2 100644 --- a/.github/workflows/pb-minimal-labels.yml +++ b/.github/workflows/pb-minimal-labels.yml @@ -12,7 +12,7 @@ jobs: runs-on: - ubuntu-latest steps: - - uses: mheap/github-action-required-labels@v3 + - uses: mheap/github-action-required-labels@v4 with: count: 1 labels: semver:major, semver:minor, semver:patch @@ -22,7 +22,7 @@ jobs: runs-on: - ubuntu-latest steps: - - uses: mheap/github-action-required-labels@v3 + - uses: mheap/github-action-required-labels@v4 with: count: 1 labels: type:bug, type:dependency-upgrade, type:documentation, type:enhancement, type:question, type:task diff --git a/.github/workflows/pb-update-go.yml b/.github/workflows/pb-update-go.yml index dc553bcd..d904d907 100644 --- a/.github/workflows/pb-update-go.yml +++ b/.github/workflows/pb-update-go.yml @@ -50,7 +50,7 @@ jobs: echo "commit-semver=${COMMIT_SEMVER}" >> "$GITHUB_OUTPUT" env: GO_VERSION: "1.18" - - uses: peter-evans/create-pull-request@v4 + - uses: peter-evans/create-pull-request@v5 with: author: ${{ secrets.JAVA_GITHUB_USERNAME }} <${{ secrets.JAVA_GITHUB_USERNAME }}@users.noreply.github.com> body: |- diff --git a/.github/workflows/pb-update-pipeline.yml b/.github/workflows/pb-update-pipeline.yml index d3f8972a..1e1b9968 100644 --- a/.github/workflows/pb-update-pipeline.yml +++ b/.github/workflows/pb-update-pipeline.yml @@ -65,7 +65,7 @@ jobs: env: DESCRIPTOR: .github/pipeline-descriptor.yml GITHUB_TOKEN: ${{ secrets.PAKETO_BOT_GITHUB_TOKEN }} - - uses: peter-evans/create-pull-request@v4 + - uses: peter-evans/create-pull-request@v5 with: author: ${{ secrets.JAVA_GITHUB_USERNAME }} <${{ secrets.JAVA_GITHUB_USERNAME }}@users.noreply.github.com> body: |- diff --git a/octo/builder_dependencies.go b/octo/builder_dependencies.go index 4db4a322..0f449b1a 100644 --- a/octo/builder_dependencies.go +++ b/octo/builder_dependencies.go @@ -116,7 +116,7 @@ func contributeBuildImage(descriptor Descriptor, image string, classifier string }, }, { - Uses: "peter-evans/create-pull-request@v4", + Uses: "peter-evans/create-pull-request@v5", With: map[string]interface{}{ "token": descriptor.GitHub.Token, "author": fmt.Sprintf("%[1]s <%[1]s@users.noreply.github.com>", descriptor.GitHub.Username), @@ -190,7 +190,7 @@ func contributeLifecycle(descriptor Descriptor) (Contribution, error) { }, }, { - Uses: "peter-evans/create-pull-request@v4", + Uses: "peter-evans/create-pull-request@v5", With: map[string]interface{}{ "token": descriptor.GitHub.Token, "author": fmt.Sprintf("%[1]s <%[1]s@users.noreply.github.com>", descriptor.GitHub.Username), diff --git a/octo/buildpack_dependencies.go b/octo/buildpack_dependencies.go index 2d429a5f..50f602d1 100644 --- a/octo/buildpack_dependencies.go +++ b/octo/buildpack_dependencies.go @@ -77,7 +77,7 @@ func ContributeBuildpackDependencies(descriptor Descriptor) ([]Contribution, err "PURL_PATTERN": d.PURLPattern, }, }, { - Uses: "peter-evans/create-pull-request@v4", + Uses: "peter-evans/create-pull-request@v5", With: map[string]interface{}{ "token": descriptor.GitHub.Token, "author": fmt.Sprintf("%[1]s <%[1]s@users.noreply.github.com>", descriptor.GitHub.Username), diff --git a/octo/labels.go b/octo/labels.go index e1096bd0..67c12794 100644 --- a/octo/labels.go +++ b/octo/labels.go @@ -156,7 +156,7 @@ func ContributeLabels(descriptor Descriptor) ([]Contribution, error) { RunsOn: []actions.VirtualEnvironment{actions.UbuntuLatest}, Steps: []actions.Step{ { - Uses: "mheap/github-action-required-labels@v3", + Uses: "mheap/github-action-required-labels@v4", With: map[string]interface{}{ "mode": "exactly", "count": 1, @@ -174,7 +174,7 @@ func ContributeLabels(descriptor Descriptor) ([]Contribution, error) { RunsOn: []actions.VirtualEnvironment{actions.UbuntuLatest}, Steps: []actions.Step{ { - Uses: "mheap/github-action-required-labels@v3", + Uses: "mheap/github-action-required-labels@v4", With: map[string]interface{}{ "mode": "exactly", "count": 1, diff --git a/octo/package_dependencies.go b/octo/package_dependencies.go index 4457777e..e3cd21a3 100644 --- a/octo/package_dependencies.go +++ b/octo/package_dependencies.go @@ -162,7 +162,7 @@ func contributePackageDependency(descriptor Descriptor, name string, bpId string Env: map[string]string{"DEPENDENCY": name}, }, { - Uses: "peter-evans/create-pull-request@v4", + Uses: "peter-evans/create-pull-request@v5", With: map[string]interface{}{ "token": descriptor.GitHub.Token, "author": fmt.Sprintf("%[1]s <%[1]s@users.noreply.github.com>", descriptor.GitHub.Username), diff --git a/octo/update_go.go b/octo/update_go.go index b9bdbfa6..9f2c4171 100644 --- a/octo/update_go.go +++ b/octo/update_go.go @@ -88,7 +88,7 @@ func ContributeUpdateGo(descriptor Descriptor) (*Contribution, error) { }, }, { - Uses: "peter-evans/create-pull-request@v4", + Uses: "peter-evans/create-pull-request@v5", With: map[string]interface{}{ "token": descriptor.GitHub.Token, "author": fmt.Sprintf("%[1]s <%[1]s@users.noreply.github.com>", descriptor.GitHub.Username), diff --git a/octo/update_pipeline.go b/octo/update_pipeline.go index 98d200e3..08817516 100644 --- a/octo/update_pipeline.go +++ b/octo/update_pipeline.go @@ -61,7 +61,7 @@ func ContributeUpdatePipeline(descriptor Descriptor) (Contribution, error) { }, }, { - Uses: "peter-evans/create-pull-request@v4", + Uses: "peter-evans/create-pull-request@v5", With: map[string]interface{}{ "token": descriptor.GitHub.Token, "author": fmt.Sprintf("%[1]s <%[1]s@users.noreply.github.com>", descriptor.GitHub.Username),