Skip to content

Commit 3f4f8f5

Browse files
committed
adding gitea_actions_extra variable
+ Added the variable ``gitea_actions_extra`` + Increased the Number for the simplified versions check
1 parent 0ea40a2 commit 3f4f8f5

File tree

4 files changed

+6
-2
lines changed

4 files changed

+6
-2
lines changed

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -293,13 +293,14 @@ Either you define exactly which release you install. Or you use the option ``lat
293293
| `gitea_lfs_storage_type` | `local` | Storage type for lfs |
294294
| `gitea_lfs_serve_direct` | `false` | Allows the storage driver to redirect to authenticated URLs to serve files directly. *(only Minio/S3)* |
295295
| `gitea_lfs_content_path` | `{{ gitea_home }}/data/lfs` | Where to store LFS files |
296-
| `gitea_lfs_extra` ||you can use this variable to pass additional config parameters in the `[lfs]` section of the config. |
296+
| `gitea_lfs_extra` | | you can use this variable to pass additional config parameters in the `[lfs]` section of the config. |
297297

298298
### Actions ([actions](https://docs.gitea.io/en-us/config-cheat-sheet/#actions-actions))
299299
| variable name | default value | description |
300300
| ------------- | ------------- | ----------- |
301301
| `gitea_actions_enabled` | `false` | Enable/Disable actions capabilities globaly. You may want to add `repo.actions` to `gitea_default_repo_units` to enable actions on all new repositories |
302302
| `gitea_actions_default_actions_url` | `https://gitea.com/` | Default address to get action plugins, e.g. the default value means downloading from `https://gitea.com/actions/checkout` for `uses: actions/checkout@v3` |
303+
| `gitea_actions_extra` | | you can use this variable to pass additional config parameters in the `[actions]` section of the config. |
303304

304305
### Other ([other](https://docs.gitea.io/en-us/config-cheat-sheet/#other-other))
305306
| variable name | default value | description |

defaults/main.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -231,6 +231,8 @@ gitea_lfs_extra: ''
231231
# -> https://docs.gitea.io/en-us/config-cheat-sheet/#actions-actions
232232
gitea_actions_enabled: false
233233
gitea_actions_default_actions_url: "https://gitea.com"
234+
gitea_actions_extra: ''
235+
234236
# Other (other)
235237
# -> https://docs.gitea.io/en-us/config-cheat-sheet/#other-other
236238
gitea_other_show_footer_branding: false

templates/gitea.ini.j2

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -276,6 +276,7 @@ PATH = {{ gitea_lfs_content_path }}
276276
[actons]
277277
ENABLED = {{ gitea_actions_enabled }}
278278
DEFAULT_ACTIONS_URL = {{ gitea_actions_default_actions_url }}
279+
{{ gitea_actions_extra }}
279280
{% endif %}
280281
;
281282
;

vars/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,5 +62,5 @@ transfer_custom_footer:
6262
- 'files/gitea_footer/extra_links_footer.tmpl'
6363
- 'files/extra_links_footer.tmpl'
6464

65-
playbook_version_number: 44 # should be int
65+
playbook_version_number: 45 # should be int
6666
playbook_version_path: 'do1jlr.gitea.version'

0 commit comments

Comments
 (0)