From 543c955fca1aaacce7441f9b35f303dbbf9d5bda Mon Sep 17 00:00:00 2001 From: Ultralytics AI Assistant <135830346+UltralyticsAssistant@users.noreply.github.com> Date: Mon, 1 Jan 2024 03:04:50 +0100 Subject: [PATCH] Add format workflow` --- .github/workflows/format.yml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 .github/workflows/format.yml diff --git a/.github/workflows/format.yml b/.github/workflows/format.yml new file mode 100644 index 0000000000..053645dd1b --- /dev/null +++ b/.github/workflows/format.yml @@ -0,0 +1,20 @@ +# Ultralytics 🚀, AGPL-3.0 license +# Ultralytics Format Workflow +# This workflow automatically formats code and documentation in pull requests and pushes to main branch + +name: Ultralytics Actions + +on: + push: + branches: [main,master] + pull_request: + branches: [main,master] + +jobs: + format: + runs-on: ubuntu-latest + steps: + - name: Checkout Repository + uses: actions/checkout@v4 + - name: Run Ultralytics Formatting Actions + uses: ultralytics/actions@main