Skip to content

Commit

Permalink
Fix #1086 (#1092)
Browse files Browse the repository at this point in the history
  • Loading branch information
dmikusa authored Apr 7, 2023
1 parent 40b1ef6 commit 4ff0478
Show file tree
Hide file tree
Showing 9 changed files with 12 additions and 12 deletions.
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][email protected]>", 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][email protected]>", 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][email protected]>", 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][email protected]>", 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][email protected]>", 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][email protected]>", descriptor.GitHub.Username),
Expand Down

0 comments on commit 4ff0478

Please sign in to comment.