32 lines
1.0 KiB
YAML
32 lines
1.0 KiB
YAML
name: F6.1 apply cancellation UX
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- hotfix/f6-1-operator-cancel-ux
|
|
paths:
|
|
- .github/workflows/f6-1-apply-cancel-ux.yml
|
|
|
|
permissions:
|
|
contents: write
|
|
|
|
jobs:
|
|
apply:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
with:
|
|
ref: hotfix/f6-1-operator-cancel-ux
|
|
fetch-depth: 0
|
|
- name: Apply targeted patch
|
|
run: python scripts/f6-1-apply-cancel-ux.py
|
|
- name: Commit cancellation UX
|
|
run: |
|
|
rm .github/workflows/f6-1-apply-cancel-ux.yml scripts/f6-1-apply-cancel-ux.py
|
|
git config user.name 'github-actions[bot]'
|
|
git config user.email '41898282+github-actions[bot]@users.noreply.github.com'
|
|
git add web-v2/src/pages/InspectionVisitEditorF4Page.tsx .github/workflows/f6-1-apply-cancel-ux.yml scripts/f6-1-apply-cancel-ux.py
|
|
git diff --cached --check
|
|
git commit -m 'fix(F6.1): add explicit audited inspection cancellation form'
|
|
git push origin HEAD:hotfix/f6-1-operator-cancel-ux
|