Skip to content

Huge UI facelift and upgrades to libs (including xterm migration) #42

Huge UI facelift and upgrades to libs (including xterm migration)

Huge UI facelift and upgrades to libs (including xterm migration) #42

Workflow file for this run

name: Protect Critical Files
on:
pull_request:
paths:
- types/resources.ts
- i18n/locales/**
permissions:
contents: read
jobs:
block-changes:
if: ${{ !contains(fromJson('["MEMBER","OWNER","COLLABORATOR"]'), github.event.pull_request.author_association) }}
runs-on: ubuntu-latest
steps:
- name: Block changes to protected files
run: |
echo "::error::Changes to resources.ts and i18n/locales are not allowed via PR"
echo "::error::These files are managed automatically or require special approval"
exit 1