Skip to content

Commit

Permalink
Added PAT to reformat_code
Browse files Browse the repository at this point in the history
  • Loading branch information
leventeBajczi committed Jul 12, 2023
1 parent 245c80c commit d41b5c6
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/reformat-code.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@ jobs:
steps:
- name: Checkout repository
uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3
with:
token: ${{ secrets.BOT_PAT }}

- name: Do reformat
uses: leventeBajczi/intellij-idea-format@v1.0
with:
Expand All @@ -31,9 +34,10 @@ jobs:
commit-message: "Reformatted code"
branch: "code-reformat"
title: '[AutoPR] Reformatted code'
token: ${{ secrets.BOT_PAT }}

- name: Commit changes
if: ${{ inputs.direct-commit }}
uses: stefanzweifel/git-auto-commit-action@3ea6ae190baf489ba007f7c92608f33ce20ef04a
with:
commit_message: "Reformatted code"
commit_message: "Reformatted code"

0 comments on commit d41b5c6

Please sign in to comment.