forked from ultralytics/yolov5
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update Actions with Lychee and GitHub Token (ultralytics#12592)
* Add Ultralytics Actions * Auto-format by Ultralytics actions * Update format.yml Signed-off-by: Glenn Jocher <[email protected]> --------- Signed-off-by: Glenn Jocher <[email protected]> Co-authored-by: UltralyticsAssistant <[email protected]> Co-authored-by: Glenn Jocher <[email protected]>
- Loading branch information
Showing
47 changed files
with
4,351 additions
and
3,473 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.