Skip to content

Commit

Permalink
Update format.yml (#23)
Browse files Browse the repository at this point in the history
  • Loading branch information
glenn-jocher authored Jun 18, 2024
1 parent d6ae621 commit 86163ff
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/format.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ on:
pull_request: # all branches
push:
branches: [main]
types: [opened, closed, synchronize]

jobs:
format:
Expand All @@ -18,9 +19,10 @@ jobs:
with:
token: ${{ secrets.GITHUB_TOKEN }} # automatically generated, do not modify
python: true # format Python code and docstrings
markdown: true # format Markdown and YAML
spelling: true # check spelling
links: true # check broken links
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')
openai_azure_api_key: ${{ secrets.OPENAI_AZURE_API_KEY }}
openai_azure_endpoint: ${{ secrets.OPENAI_AZURE_ENDPOINT }}

0 comments on commit 86163ff

Please sign in to comment.