From 915ce21ebc558b74ffc5e4c288f7f6cd4482c2b1 Mon Sep 17 00:00:00 2001 From: Glenn Jocher Date: Wed, 1 Jan 2025 15:47:35 +0100 Subject: [PATCH] Update format.yml (#13479) 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 1672a51..b88eebc 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