2 Commits

Author SHA1 Message Date
George Sapkin
6b45572ea4 formal: fix permissions
Some checks failed
LuCI repo CodeQL Analysis / Analyze JavaScript and JSON (javascript-typescript) (push) Has been cancelled
Enable Luci-specific Weblate exclusions.

Signed-off-by: George Sapkin <george@sapk.in>
2025-12-15 14:11:11 +01:00
zhusir
3b81fafa80 luci-app-acme: fixed the issue where certificates were not displaying (#8151)
* luci-app-acme: fixed the issue where certificates were not displaying
2025-12-15 13:03:02 +01:00
2 changed files with 9 additions and 1 deletions

View File

@@ -5,8 +5,16 @@ on:
permissions:
contents: read
pull-requests: write
jobs:
formalities:
name: Test Formalities
uses: openwrt/actions-shared-workflows/.github/workflows/formal.yml@main
with:
exclude_weblate: true
# # Post formality check summaries to the PR.
# # Repo's permissions need to be updated for actions to modify PRs:
# # https://docs.github.com/en/rest/issues/comments?apiVersion=2022-11-28#create-an-issue-comment
# post_comment: true
# warn_on_no_modify: true

View File

@@ -12,7 +12,7 @@ return view.extend({
L.resolveDefault(fs.list('/etc/ssl/acme/'), []).then(files => {
let certs = [];
for (let f of files) {
if (f.type == 'file' && f.name.match(/\.fullchain\.crt$/)) {
if (f.name.match(/\.fullchain\.crt$/)) {
certs.push(f);
}
}