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
* feat: support dependabot secrets
This adds support for setting dependabot secrets
* docs: update example to include dependabot secret
* feat: support deleting dependabot
* feat: support diffing dependabot secrets
* ci: update workflows
Copy file name to clipboardExpand all lines: examples/settings.yml
+14-10Lines changed: 14 additions & 10 deletions
Original file line number
Diff line number
Diff line change
@@ -21,9 +21,9 @@ settings:
21
21
22
22
# A list of strings to apply as topics on the repo. Set to an empty string to clear topics. Omit or set to null to leave what repo already has
23
23
topics:
24
-
- gha
25
-
- foo
26
-
- bar
24
+
- gha
25
+
- foo
26
+
- bar
27
27
28
28
# Either `true` to make the repository private, or `false` to make it public.
29
29
private: false
@@ -75,7 +75,7 @@ labels:
75
75
76
76
- name: feature
77
77
# If including a `#`, make sure to wrap it with quotes!
78
-
color: '#336699'
78
+
color: "#336699"
79
79
description: New functionality.
80
80
81
81
- name: Help Wanted
@@ -109,10 +109,10 @@ branch_protections:
109
109
# # Require branches to be up to date before merging.
110
110
# strict: true
111
111
# # The list of status checks to require in order to merge into this branch
112
-
# checks:
113
-
# - lint
114
-
# - test
115
-
# - docker
112
+
# checks:
113
+
# - lint
114
+
# - test
115
+
# - docker
116
116
# Enforce all configured restrictions for administrators. Set to true to enforce required status checks for repository administrators. Set to null to disable.
117
117
enforce_admins: true
118
118
# Prevent merge commits from being pushed to matching branches
@@ -141,6 +141,10 @@ secrets:
141
141
# pull the value from an environment variable. If this variable is not found in the env, throw an error and fail the run
142
142
# Set env vars on the github action job from secrets in your repo to sync screts across repos
143
143
env: SECRET_VALUE
144
+
# Set a dependabot secret on the repo
145
+
- key: SECRET_KEY
146
+
env: SECRET_VALUE
147
+
type: dependabot
144
148
- key: ANOTHER_SECRET
145
149
# set a value directly in your yaml, probably not a good idea for things that are actually a secret
146
150
value: bar
@@ -176,9 +180,9 @@ files:
176
180
- src_file: remote://README.md
177
181
dest_file: README.rst
178
182
move: true
179
-
commit_msg: 'move readme'
183
+
commit_msg: "move readme"
180
184
# This removes OLDDOC.md in the dev branch. If OLDDOC.md doesn't exist, the workflow will emit a warning
0 commit comments