Update Actions with Lychee and GitHub Token (#12592)
* Add Ultralytics Actions * Auto-format by Ultralytics actions * Update format.yml Signed-off-by: Glenn Jocher <glenn.jocher@ultralytics.com> --------- Signed-off-by: Glenn Jocher <glenn.jocher@ultralytics.com> Co-authored-by: UltralyticsAssistant <web@ultralytics.com> Co-authored-by: Glenn Jocher <glenn.jocher@ultralytics.com>
This commit is contained in:
47 files changed
+4217
-3462
No files matched your search
@@ -0,0 +1,25 @@
|
||||
# Ultralytics 🚀 - AGPL-3.0 license
|
||||
# Ultralytics Actions https://github.com/ultralytics/actions
|
||||
# This workflow automatically formats code and documentation in PRs to official Ultralytics standards
|
||||
|
||||
name: Ultralytics Actions
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [main,master]
|
||||
pull_request_target:
|
||||
branches: [main,master]
|
||||
|
||||
jobs:
|
||||
format:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Run Ultralytics Formatting
|
||||
uses: ultralytics/actions@main
|
||||
with:
|
||||
token: ${{ secrets.GITHUB_TOKEN }} # automatically generated
|
||||
python: true
|
||||
docstrings: true
|
||||
markdown: true
|
||||
spelling: true
|
||||
links: true
|
||||
Reference in new issue
Block a user