Skip to content

Deactivate the Protection of the "releases" Folder #134

Deactivate the Protection of the "releases" Folder

Deactivate the Protection of the "releases" Folder #134

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