Skip to content

Commit

Permalink
Fix action to prevent modifying 'login.toml' (#39)
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinaboos authored Feb 5, 2024
1 parent 7512ef9 commit a3bf0de
Showing 1 changed file with 13 additions and 5 deletions.
18 changes: 13 additions & 5 deletions .github/workflows/login-toml.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,14 @@
- name: Prevent modifying login.toml
uses: xalvarez/prevent-file-change-action@v1.6.0
with:
githubToken: ${{ secrets.GITHUB_TOKEN }}
pattern: login.toml
name: Prevent modifying login.toml

on: [push, pull_request]

jobs:
documentation:
name: Build and deploy
runs-on: ubuntu-latest
steps:
- name: Prevent modifying login.toml
uses: xalvarez/prevent-file-change-action@v1.6.0
with:
githubToken: ${{ secrets.GITHUB_TOKEN }}
pattern: login.toml

0 comments on commit a3bf0de

Please sign in to comment.