From d956d6a15d1b847ec0c64e7644efca2a2ff6a178 Mon Sep 17 00:00:00 2001 From: Glenn Jocher Date: Wed, 1 Jan 2025 15:45:56 +0100 Subject: [PATCH] Update format.yml Signed-off-by: Glenn Jocher --- .github/workflows/format.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/format.yml b/.github/workflows/format.yml index 6c7981b71b..d524d23fa1 100644 --- a/.github/workflows/format.yml +++ b/.github/workflows/format.yml @@ -18,7 +18,7 @@ jobs: - name: Run Ultralytics Formatting uses: ultralytics/actions@main with: - token: ${{ secrets._GITHUB_TOKEN }} # note GITHUB_TOKEN automatically generated + token: ${{ secrets._GITHUB_TOKEN || secrets.GITHUB_TOKEN}} labels: true # autolabel issues and PRs python: true # format Python code and docstrings prettier: true # format YAML, JSON, Markdown and CSS