Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix #1086 #1092

Merged
merged 1 commit into from
Apr 7, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/pb-minimal-labels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pb-update-go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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: |-
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pb-update-pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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: |-
Expand Down
4 changes: 2 additions & 2 deletions octo/builder_dependencies.go
Original file line number Diff line number Diff line change
Expand Up @@ -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),
Expand Down Expand Up @@ -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),
Expand Down
2 changes: 1 addition & 1 deletion octo/buildpack_dependencies.go
Original file line number Diff line number Diff line change
Expand Up @@ -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),
Expand Down
4 changes: 2 additions & 2 deletions octo/labels.go
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand All @@ -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,
Expand Down
2 changes: 1 addition & 1 deletion octo/package_dependencies.go
Original file line number Diff line number Diff line change
Expand Up @@ -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),
Expand Down
2 changes: 1 addition & 1 deletion octo/update_go.go
Original file line number Diff line number Diff line change
Expand Up @@ -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),
Expand Down
2 changes: 1 addition & 1 deletion octo/update_pipeline.go
Original file line number Diff line number Diff line change
Expand Up @@ -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),
Expand Down