From b40240daec9b2af648d3b0489abd664952f535dc Mon Sep 17 00:00:00 2001 From: Ultralytics AI Assistant <135830346+UltralyticsAssistant@users.noreply.github.com> Date: Mon, 1 Jan 2024 03:12:32 +0100 Subject: [PATCH] Add Ultralytics actions workflow in `format.yml` (#33) --- .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 0000000..053645d --- /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