- Escape $serverObject and $systemUrl in AdminHTML.php heredocs to prevent XSS - Add null guard in Database::getSystemUrl() to prevent fatal error - Guard primaryNetwork access in module.js to prevent null dereference - Reset badge/traffic-bar CSS classes on refresh to prevent accumulation - Add VNC popup-blocked check with user-facing message - Add BS3 input-group-btn dual class for theme compatibility - Escape billing template variables with |escape:'htmlall' - Add cache-busting to admin CSS/JS includes - Switch cache-busting format from version to date-based (20260207) - Create .releaserc.json for automated CHANGELOG.md management - Add changelog/git plugins to semantic-release workflow - Remove manual [Unreleased] section from CHANGELOG.md - Update README: install/upgrade with rsync, accuracy fixes, add keygen.js - Update CLAUDE.md: add keygen.js, document removed features - Fix SECURITY.md grammar and version operator Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
42 lines
1.3 KiB
YAML
42 lines
1.3 KiB
YAML
# .github/workflows/semantic-versioning-release.yml
|
|
name: Automated Semantic Versioning Release
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- main
|
|
|
|
jobs:
|
|
release:
|
|
runs-on: ubuntu-latest
|
|
permissions:
|
|
contents: write # for creating tags and releases
|
|
issues: write # for commenting on issues
|
|
pull-requests: write # for commenting on PRs
|
|
steps:
|
|
- name: Checkout code
|
|
uses: actions/checkout@v4
|
|
with:
|
|
# This is required to analyze the full commit history
|
|
fetch-depth: 0
|
|
|
|
- name: Automated Semantic Release
|
|
# This action wraps the popular semantic-release tool
|
|
uses: cycjimmy/semantic-release-action@v4
|
|
with:
|
|
# You can specify the branches to release from
|
|
branch: main
|
|
extra_plugins: |
|
|
@semantic-release/changelog
|
|
@semantic-release/git
|
|
env:
|
|
# GITHUB_TOKEN is required for authentication
|
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
|
|
# To make this work, you must follow the Conventional Commits specification.
|
|
# Examples:
|
|
# - fix: correct a typo in the documentation
|
|
# - feat: add a new user authentication endpoint
|
|
# - feat(api): add rate limiting
|
|
# BREAKING CHANGE: The API now returns 429 when rate limit is exceeded.
|