From 57b8c56e09c33a0c5dca05bcff8b2abc54d54a81 Mon Sep 17 00:00:00 2001 From: Kevin Boos Date: Mon, 5 Feb 2024 15:06:59 -0600 Subject: [PATCH] Fix action to prevent modifying 'login.toml' --- .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