From a3bf0de89babb008cc0b748aba004fe047d5fd0a Mon Sep 17 00:00:00 2001 From: Kevin Boos <1139460+kevinaboos@users.noreply.github.com> Date: Mon, 5 Feb 2024 13:08:04 -0800 Subject: [PATCH] Fix action to prevent modifying 'login.toml' (#39) --- .github/workflows/login-toml.yaml | 18 +++++++++++++----- 1 file changed, 13 insertions(+), 5 deletions(-) diff --git a/.github/workflows/login-toml.yaml b/.github/workflows/login-toml.yaml index 873970a3..12ae0c50 100644 --- a/.github/workflows/login-toml.yaml +++ b/.github/workflows/login-toml.yaml @@ -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