Skip to content

Commit 00e4718

Browse files
committed
update dependencies workflow
1 parent b33eae9 commit 00e4718

8 files changed

Lines changed: 109 additions & 98 deletions

File tree

.editorconfig

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
root = true
22

33
[*]
4-
charset = utf-8
5-
end_of_line = lf
6-
indent_style = space
4+
charset=utf-8
5+
end_of_line=lf
6+
indent_style=space
77
indent_size = 4
88
insert_final_newline = true
99

@@ -17,11 +17,11 @@ max_line_length = 160
1717
indent_size = 2
1818
ij_continuation_indent_size = 4
1919

20-
[*.java]
21-
ij_continuation_indent_size = 4
22-
2320
[{*.kt,*.kts}]
2421
ij_continuation_indent_size = 4
2522
ij_kotlin_name_count_to_use_star_import = 99
2623
ij_kotlin_name_count_to_use_star_import_for_members = 99
27-
disabled_rules = chain-wrapping, colon-spacing, comma-spacing, comment-spacing, curly-spacing, filename, import-ordering, indent, indent_size, no-unused-imports, no-wildcard-imports, parameter-list-wrapping, range-spacing, string-template
24+
disabled_rules = chain-wrapping,colon-spacing,comma-spacing,comment-spacing,curly-spacing,filename,import-ordering,indent,indent_size,no-unused-imports,no-wildcard-imports,parameter-list-wrapping,range-spacing,string-template
25+
26+
[src/docs/*/**.kt]
27+
max_line_length = 95

.github/typeflows/update-dependencies/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ flowchart TD
5151
step5 --> step6
5252
step7["Step 7: Create Pull Request<br/>🔐 if: steps.changes.outputs.has_changes"]
5353
style step7 fill:#f8f9fa,stroke:#495057
54-
action7["🎬 peter-evans<br/>create-pull-request<br/><br/>📝 Inputs:<br/>• token: ${{ secrets.GITHUB_TOKEN }}<br/>• commit-message: chore: Update dependencies<br/>• title: chore: update dependencies<br/>• body: This PR updates dependencies i...<br/>• branch: update-dependencies<br/>• delete-branch: true"]
54+
action7["🎬 peter-evans<br/>create-pull-request<br/><br/>📝 Inputs:<br/>• commit-message: chore: Update dependencies<br/>• title: chore: update dependencies<br/>• body: This PR updates dependencies i...<br/>• branch: update-dependencies<br/>• delete-branch: true"]
5555
style action7 fill:#e1f5fe,stroke:#0277bd
5656
step7 -.-> action7
5757
step6 --> step7

.github/workflows/update-dependencies.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,9 +38,8 @@ jobs:
3838
shell: bash
3939
- name: Create Pull Request
4040
if: steps.changes.outputs.has_changes
41-
uses: peter-evans/create-pull-request@v6
41+
uses: peter-evans/create-pull-request@v8.1.1
4242
with:
43-
token: ${{ secrets.GITHUB_TOKEN }}
4443
commit-message: 'chore: Update dependencies'
4544
title: 'chore: update dependencies'
4645
body: |-

gradle/wrapper/gradle-wrapper.jar

-4.59 KB
Binary file not shown.

gradle/wrapper/gradle-wrapper.properties

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@ distributionBase=GRADLE_USER_HOME
22
distributionPath=wrapper/dists
33
distributionUrl=https\://services.gradle.org/distributions/gradle-9.5.1-bin.zip
44
networkTimeout=10000
5-
retries=0
6-
retryBackOffMs=500
75
validateDistributionUrl=true
86
zipStoreBase=GRADLE_USER_HOME
97
zipStorePath=wrapper/dists

gradlew

Lines changed: 5 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

gradlew.bat

Lines changed: 94 additions & 82 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/main/kotlin/org/http4k/typeflows/UpdateGradleProjectDependencies.kt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,12 +84,11 @@ class UpdateGradleProjectDependencies(
8484
id = "changes"
8585
}
8686

87-
steps += UseAction("peter-evans/create-pull-request@v6") {
87+
steps += UseAction("peter-evans/create-pull-request@v8.1.1") {
8888
name = "Create Pull Request"
8989
condition = StrExp.of("steps.changes.outputs.has_changes")
9090

9191
with += mapOf(
92-
"token" to Secrets.GITHUB_TOKEN.toString(),
9392
"commit-message" to "chore: Update dependencies",
9493
"title" to "chore: update dependencies",
9594
"body" to """

0 commit comments

Comments
 (0)