35 lines
1008 B
YAML
35 lines
1008 B
YAML
name: Apply Caterium v17.6.5 stability patch
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- feature/v17.6.5-stability
|
|
paths:
|
|
- .github/workflows/patch-v1765-stability.yml
|
|
|
|
permissions:
|
|
contents: write
|
|
|
|
jobs:
|
|
patch:
|
|
if: github.actor != 'github-actions[bot]'
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- uses: actions/setup-node@v4
|
|
with:
|
|
node-version: 22
|
|
- name: Apply stability hardening
|
|
run: |
|
|
node scripts/apply-v1765-stability.mjs
|
|
npm version 17.6.5 --no-git-tag-version --allow-same-version
|
|
- name: Validate patched syntax
|
|
run: npm run check:syntax
|
|
- name: Commit stability patch
|
|
run: |
|
|
git config user.name "github-actions[bot]"
|
|
git config user.email "41898282+github-actions[bot]@users.noreply.github.com"
|
|
git add public package.json package-lock.json tests docs
|
|
git commit -m "Harden Caterium v17.6.5 stability" || exit 0
|
|
git push
|