1
0
Fork 0
mirror of https://github.com/sockspls/badfish synced 2025-04-29 16:23:09 +00:00

CI give correct permissions for the clang-format action

closes https://github.com/official-stockfish/Stockfish/pull/5470

No functional change
This commit is contained in:
Disservin 2024-07-10 17:56:43 +02:00 committed by Joost VandeVondele
parent 362a77a345
commit 98a7bb4436

View file

@ -11,6 +11,10 @@ on:
paths:
- "**.cpp"
- "**.h"
permissions:
pull-requests: write
jobs:
Clang-Format:
name: Clang-Format
@ -39,6 +43,7 @@ jobs:
_(execution **${{ github.run_id }}** / attempt **${{ github.run_attempt }}**)_
comment_tag: execution
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Comment on PR
if: steps.clang-format.outcome != 'failure'
@ -49,3 +54,4 @@ jobs:
create_if_not_exists: false
comment_tag: execution
mode: delete
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}