We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d798754 commit 2dcfb68Copy full SHA for 2dcfb68
.github/workflows/clang-format-run-pr.yml
@@ -27,14 +27,20 @@ on:
27
28
permissions:
29
actions: write
30
+ contents: write
31
32
env:
33
CLANG_VERSION: 14
34
35
jobs:
36
- run-on-pr:
37
- # Run on branchs, not forked PR branches
+ run-on-pr:
38
+ permissions:
39
40
+ pull-requests: write
41
+ actions: write
42
+
43
+ # Run on branches, not forked PR branches
44
if: |
45
contains(github.event.comment.body, '/clang-format-run')
46
@@ -47,7 +53,7 @@ jobs:
47
53
run: |
48
54
sudo apt-get install clang-format-${CLANG_VERSION}
49
55
50
- - uses: actions/github-script@v6
56
+ - uses: actions/github-script@v7
51
57
id: get-pr
52
58
with:
59
script: |
0 commit comments