mirror of
https://github.com/BinaryAlley/Nemera.git
synced 2026-12-01 20:01:10 +00:00
- embeds the append-only historical and deny trust lists in the API and marks matching bundled plugins as Official without blocking loading - builds and records the current plugin manifest only for official release builds - deploys the PDF native libraries for the supported Linux, macOS and Windows runtimes from the plugin dependency manifest - records release hashes by appending only missing entries to master's manifest and rejects any diff that removes a line - documents the release flow, the supported runtimes and the plugin installer limits
27 lines
958 B
YAML
27 lines
958 B
YAML
name: Pull Request Source Branch Validation Check
|
|
|
|
on:
|
|
pull_request:
|
|
branches:
|
|
- master
|
|
|
|
jobs:
|
|
validate-pr-source:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Check source branch name
|
|
env:
|
|
BRANCH_NAME: ${{ github.head_ref }}
|
|
run: |
|
|
branch_name="$BRANCH_NAME"
|
|
if [[ "$branch_name" =~ ^release/[0-9]+\.[0-9]+\.[0-9]+$ ]]; then
|
|
echo "Branch name '$branch_name' follows the release naming convention."
|
|
exit 0
|
|
fi
|
|
if ! [[ "$branch_name" =~ ^(feature|bugfix|hotfix|documentation|refactor|other)/ ]]; then
|
|
echo "Error: Branch name '$branch_name' does not follow the naming convention."
|
|
echo "It should start with one of: feature/, bugfix/, hotfix/, documentation/, refactor/, other/, or be a release/x.y.z branch."
|
|
exit 1
|
|
fi
|
|
echo "Branch name '$branch_name' follows the correct naming convention."
|