Skip to content

Commit

Permalink
Update auto_format_python.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
kalcohol authored Feb 6, 2025
1 parent dd36b6c commit 044f394
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/auto_format_python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,12 @@ jobs:

steps:
- name: Checkout code
uses: actions/checkout@v4
- if: github.event_name == 'push'
uses: actions/checkout@v2
- if: github.event_name == 'pull_request'
uses: actions/checkout@v2
with:
ref: ${{ github.head_ref }}

- name: Run Black
uses: datadog/action-py-black-formatter@v2
Expand Down

0 comments on commit 044f394

Please sign in to comment.