Skip to content

Commit

Permalink
chore: add GH action to check changes to release files (#211)
Browse files Browse the repository at this point in the history
  • Loading branch information
juliapampus authored Feb 7, 2024
1 parent e04523c commit bffa740
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/prevent-file-changes.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: Prevent Changes to Release Files

on:
pull_request:
types: [ opened ]
pull_request_target:
types: [ opened ]

jobs:
check:
runs-on: ubunut-latest
steps:
- name: Prevent file change
uses: xalvarez/prevent-file-change-action@v1
with:
githubToken: ${{ secrets.GITHUB_TOKEN }}
pattern: releases/.*
allowNewFiles: true

0 comments on commit bffa740

Please sign in to comment.