From 9967fc704a4e82727fc8124bde2e81380e7d1583 Mon Sep 17 00:00:00 2001 From: Cannon Lock <49032265+CannonLock@users.noreply.github.com> Date: Fri, 12 Sep 2025 09:58:07 -0500 Subject: [PATCH] Add checkout step to auto-format job Add checkout step demo to the example to demonstrate how you can use this token to checkout and push to a github repository in the same step. --- README.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/README.md b/README.md index f969916..05972ca 100644 --- a/README.md +++ b/README.md @@ -98,6 +98,11 @@ jobs: auto-format: runs-on: ubuntu-latest steps: + - name: Checkout code + uses: actions/checkout@v4 + with: + # Prevent implicit use of default GITHUB_TOKEN + persist-credentials: false - uses: actions/create-github-app-token@v2 id: app-token with: