diff --git a/.github/workflows/prevent-file-changes.yml b/.github/workflows/prevent-file-changes.yml index e0bff8d..d24e6b9 100644 --- a/.github/workflows/prevent-file-changes.yml +++ b/.github/workflows/prevent-file-changes.yml @@ -2,13 +2,12 @@ name: Prevent Changes to Release Files on: pull_request: - types: [ opened ] - pull_request_target: - types: [ opened ] + branches: [ main ] + types: [opened, edited, synchronize, reopened, labeled, unlabeled] jobs: check: - runs-on: ubunut-latest + runs-on: ubuntu-latest steps: - name: Prevent file change uses: xalvarez/prevent-file-change-action@v1