forgejo/templates/shared
zokki eeb47e3340 fix: actions variable and secret names validation (#10682)
Fixed action variables and secrets according to [Docu](https://forgejo.org/docs/next/user/actions/basic-concepts/#name-constraints):
> Variable names must not start with the FORGEJO_, GITHUB_ or GITEA_ prefix.
This wasn't correctly enforced, so I changed the regex

## Checklist

The [contributor guide](https://forgejo.org/docs/next/contributor/) contains information that will be helpful to first time contributors. There also are a few [conditions for merging Pull Requests in Forgejo repositories](https://codeberg.org/forgejo/governance/src/branch/main/PullRequestsAgreement.md). You are also welcome to join the [Forgejo development chatroom](https://matrix.to/#/#forgejo-development:matrix.org).

### Tests

- I added test coverage for Go changes...
  - [x] in their respective `*_test.go` for unit tests.
  - [x] in the `tests/integration` directory if it involves interactions with a live Forgejo server.
- I added test coverage for JavaScript changes...
  - [ ] in `web_src/js/*.test.js` if it can be unit tested.
  - [ ] in `tests/e2e/*.test.e2e.js` if it requires interactions with a live Forgejo server (see also the [developer guide for JavaScript testing](https://codeberg.org/forgejo/forgejo/src/branch/forgejo/tests/e2e/README.md#end-to-end-tests)).

### Documentation

- [x] I created a pull request [to the documentation](https://codeberg.org/forgejo/docs) to explain to Forgejo users how to use this change.
- [ ] I did not document these changes and I do not expect someone else to do it.

### Release notes

- [ ] I do not want this change to show in the release notes.
- [x] I want the title to show in the release notes with a link to this pull request.
- [ ] I want the content of the `release-notes/<pull request number>.md` to be be used for the release notes instead of the title.

Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/10682
Reviewed-by: Andreas Ahlenstorf <aahlenst@noreply.codeberg.org>
Reviewed-by: Mathieu Fenniak <mfenniak@noreply.codeberg.org>
Co-authored-by: zokki <zokki.softwareschmiede@gmail.com>
Co-committed-by: zokki <zokki.softwareschmiede@gmail.com>
2026-01-14 04:19:21 +01:00
..
actions feat: replace cross origin protection (#9830) 2025-10-29 22:43:22 +01:00
search feat(issue-search): support query syntax (#9109) 2025-11-19 16:05:42 +01:00
secrets fix: actions variable and secret names validation (#10682) 2026-01-14 04:19:21 +01:00
user feat(ui): allow dropdown to contain not just items (#9951) 2025-11-05 05:00:15 +01:00
variables fix: actions variable and secret names validation (#10682) 2026-01-14 04:19:21 +01:00
webhook Added alt's to <img> 2025-01-31 21:22:00 +00:00
blocked_users_list.tmpl feat: replace cross origin protection (#9830) 2025-10-29 22:43:22 +01:00
codemirror_container.tmpl feat(ui): replace Monaco with CodeMirror (#10559) 2026-01-04 23:52:33 +01:00
combomarkdowneditor.tmpl fix: avoid jumping to begin of page on edit comment action (#9645) 2025-10-13 17:46:35 +02:00
issueicon.tmpl ui: update pull request icons (#4455) 2024-07-16 14:38:46 +00:00
issuelist.tmpl feat: show update time when sorting by recently updated (#10488) 2025-12-20 15:37:27 +01:00
label_filter.tmpl chore: move template context (#8663) 2025-07-25 11:55:15 +02:00
quota_overview.tmpl feat(ui): add legends to storage overview (#9429) 2025-09-28 10:35:07 +02:00
repo_search.tmpl Migrate margin and padding helpers to tailwind (#30043) 2024-03-30 07:17:29 +01:00
searchbottom.tmpl [PORT] Refactor DateUtils and merge TimeSince (gitea#32409) 2024-11-10 22:23:27 +01:00
searchfile.tmpl Update module github.com/editorconfig-checker/editorconfig-checker/v2/cmd/editorconfig-checker to v3 2024-08-09 21:03:37 +02:00