Skip to content

Commit

Permalink
added token to formatter
Browse files Browse the repository at this point in the history
  • Loading branch information
DeaSTL committed Dec 26, 2023
1 parent 33163d5 commit e504965
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/clang-format.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,15 @@ jobs:
clang-format:
runs-on: ubuntu-latest

permissions:
contents: write

steps:

- name: Checkout repository
uses: actions/checkout@v2
with:
${{ secrets.CI_TOKEN }}

- name: Install Clang-Format
run: sudo apt-get install -y clang-format git
Expand All @@ -23,4 +28,5 @@ jobs:
commit_message: Apply clang-format
branch: ${{ github.head_ref }}
file_pattern: .*\.(cpp|hpp|cc|cxx|h|hh)
token: ${{ secrets.CI_TOKEN }}

0 comments on commit e504965

Please sign in to comment.