From f561e8dc7cd684767766e690418741e3351ac4ea Mon Sep 17 00:00:00 2001 From: Garrett Summerfield Date: Thu, 1 Feb 2024 16:39:02 -0600 Subject: [PATCH] Fix action run triggered by an action Actions don't trigger after an action pushes to a branch, removing the persisting credentials causes the action to run with GITHUB_TOKEN rather than the users token. --- .github/workflows/syntax-check.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/syntax-check.yml b/.github/workflows/syntax-check.yml index fdea1c3..ad39230 100644 --- a/.github/workflows/syntax-check.yml +++ b/.github/workflows/syntax-check.yml @@ -25,6 +25,7 @@ jobs: - uses: actions/checkout@v4 with: fetch-depth: 0 + persist-credentials: false # Setup Java 17 - uses: actions/setup-java@v4