Skip to content

Move best practices to separate repo #137

Move best practices to separate repo

Move best practices to separate repo #137

name: Prevent Changes to Release Files
on:
pull_request:
branches: [ main ]
types: [opened, edited, synchronize, reopened, labeled, unlabeled]
jobs:
check:
runs-on: ubuntu-latest
steps:
- name: Prevent file change
uses: xalvarez/prevent-file-change-action@v1
with:
githubToken: ${{ secrets.GITHUB_TOKEN }}
pattern: releases/.*
allowNewFiles: true