Skip to content

Commit

Permalink
Update action.yml (#88)
Browse files Browse the repository at this point in the history
  • Loading branch information
glenn-jocher committed Jun 8, 2024
1 parent 39815b3 commit 3b6067b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 9 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/format.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ name: Ultralytics Actions

on:
push:
branches: [main, master]
branches: [main]
pull_request:
branches: [main, master]
branches: [main]
# https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#pull_request
types: [opened, closed, synchronize, review_requested]

Expand All @@ -21,7 +21,8 @@ jobs:
with:
token: ${{ secrets.GITHUB_TOKEN }} # automatically generated, do not modify
python: true # format Python code and docstrings
markdown: true # format Markdown and YAML
markdown: true # format Markdown
prettier: true # format YAML
spelling: false # check spelling
links: false # check broken links
summary: true # print PR summary with GPT4 (requires 'openai_api_key' or 'openai_azure_api_key' and 'openai_azure_endpoint')
Expand Down
6 changes: 0 additions & 6 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,12 +71,6 @@ runs:
ref: ${{ github.head_ref || github.ref }}
fetch-depth: 0

- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.x"
cache: "pip" # caching pip dependencies

- name: Install Dependencies
# Note tomli required for codespell with pyproject.toml
if: github.event.action != 'closed'
Expand Down

0 comments on commit 3b6067b

Please sign in to comment.