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 bdca72b commit cb64479
Showing 1 changed file with 1 addition and 11 deletions.
12 changes: 1 addition & 11 deletions .github/workflows/auto_format_python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,20 +17,10 @@ jobs:
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
ref: ${{ github.head_ref }}

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

- name: Commit changes
id: commit_changes
uses: stefanzweifel/git-auto-commit-action@v5

- name: "Run if changes have been detected"
if: steps.commit_changes.outputs.changes_detected == 'true'
run: echo "Code formated."

- name: "Run if no changes have been detected"
if: steps.commit_changes.outputs.changes_detected == 'false'
run: echo "No Changes."
uses: peter-evans/create-pull-request@v7

0 comments on commit cb64479

Please sign in to comment.