You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+26-27Lines changed: 26 additions & 27 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -41,15 +41,15 @@ jobs:
41
41
with:
42
42
# Personal access token (PAT) used when interacting with Git and GitHub.
43
43
#
44
-
# We recommend using a service account with the least permissions necessary. Also
45
-
# when generating a new PAT, select the least scopes necessary.
44
+
# We recommend using a service account with the least permissions necessary.
45
+
#Also, when generating a new PAT, select the least scopes necessary.
46
46
#
47
47
# [Learn more about creating and using encrypted secrets](https://help.github.com/actions/automating-your-workflow-with-github-actions/creating-and-using-encrypted-secrets)
48
48
#
49
49
# Required: true
50
50
token: ${{ secrets.GITHUB_TOKEN }}
51
51
52
-
# Path to settings file
52
+
# Path to the settings file
53
53
#
54
54
# By default, .github/preview-updater.yml
55
55
#
@@ -84,30 +84,6 @@ All fields are optional—omitted ones fall back to defaults.
84
84
85
85
path: README.md # Target file to update
86
86
87
-
repository:
88
-
commit:
89
-
branch: preview/banner-{random}
90
-
title: "docs(preview): Update preview"
91
-
body: ''
92
-
author:
93
-
name: github-actions
94
-
email: github-actions@github.com
95
-
96
-
pullRequest:
97
-
title: Update preview
98
-
body: ''
99
-
assignees: [ ]
100
-
labels: [ 'preview' ]
101
-
102
-
data:
103
-
# By default, the repository name will be used.
104
-
# For example, for https://github.com/TheDragonCode/github-preview-updater, it will take `preview-updater`
105
-
# and convert it to `Preview Updater`.
106
-
title: ''# Fallbacks to repo name (Title Case)
107
-
108
-
# By default, the package description will be used (the ` description ` key in composer.json or package.json).
109
-
description: ''# Fallbacks to owner name or package description
110
-
111
87
package:
112
88
# Declares the use of the package manager.
113
89
# It is a regular string that will be substituted into the URL address.
@@ -132,6 +108,15 @@ package:
132
108
# By default, the package name is taken from the composer.json or package.json file.
133
109
name: ''
134
110
111
+
data:
112
+
# By default, the repository name will be used.
113
+
# For example, for https://github.com/TheDragonCode/github-preview-updater, it will take `preview-updater`
114
+
# and convert it to `Preview Updater`.
115
+
title: ''# Fallbacks to repo name (Title Case)
116
+
117
+
# By default, the package description will be used (the ` description ` key in composer.json or package.json).
118
+
description: ''# Fallbacks to owner name or package description
119
+
135
120
image:
136
121
url: https://banners.beyondco.de/{title}.png
137
122
@@ -142,6 +127,20 @@ image:
142
127
fontSize: 100px
143
128
icon: code
144
129
130
+
repository:
131
+
commit:
132
+
branch: preview/banner-{random}
133
+
title: "docs(preview): Update preview"
134
+
body: ''
135
+
author:
136
+
name: github-actions
137
+
email: github-actions@github.com
138
+
139
+
pullRequest:
140
+
title: Update preview
141
+
body: ''
142
+
assignees: [ ]
143
+
labels: [ 'preview' ]
145
144
```
146
145
147
146
Currently, the project generates previews through [banners.beyondco.de](https://banners.beyondco.de) and the parameters
0 commit comments