Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add action to prevent changes to release files #210

Closed
juliapampus opened this issue Feb 6, 2024 · 0 comments · Fixed by #211
Closed

Add action to prevent changes to release files #210

juliapampus opened this issue Feb 6, 2024 · 0 comments · Fixed by #211
Assignees

Comments

@juliapampus
Copy link
Contributor

We tend to accidentally change the files in the release folder. A GitHub action could prevent this: https://github.com/xalvarez/prevent-file-change-action.

- name: Prevent file change
  uses: xalvarez/prevent-file-change-action@v1
  with:
    githubToken: ${{ secrets.GITHUB_TOKEN }}
    pattern: releases/.*
    allowNewFiles: true

allowNewFiles: true to avoid that the action fails when we add a new release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant