Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrei-Aksionov committed Nov 22, 2023
1 parent f2fb1a5 commit 580987c
Showing 1 changed file with 7 additions and 10 deletions.
17 changes: 7 additions & 10 deletions .github/workflows/code_style_fix.yaml
Original file line number Diff line number Diff line change
@@ -1,16 +1,17 @@
name: Automatic Code Style Fix

permissions: write-all


on:
pull_request:
branches: [main]
workflow_call:
secrets:
github-token:
description: "if provided an user GH's token, it will push update; requires `push` event"
required: false
inputs:
push-fixes:
description: "if provided an user GH's token, it will push update; requires `push` event"
type: boolean
required: false
default: false

jobs:
auto_code_style_fix:
Expand Down Expand Up @@ -56,10 +57,6 @@ jobs:
# if: always() && inputs.push-fixes == true && steps.precommit.outcome == 'failure'
uses: actions-js/[email protected]
with:
# github_token: ${{ secrets.github-token || github.token }}
# github_token: ${{ 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 }}
# github_token: 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
# github_token: ${{ secrets.ruff_black_pat }}
github_token: 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
github_token: ${{ secrets.github-token || github.token }}
message: "pre-commit: running and fixing..."
branch: ${{ github.head_ref || github.ref_name }}

0 comments on commit 580987c

Please sign in to comment.