Commit 8e29992 1 parent b92c488 commit 8e29992 Copy full SHA for 8e29992
File tree 1 file changed +19
-6
lines changed
1 file changed +19
-6
lines changed Original file line number Diff line number Diff line change 7
7
name : Run clang-format
8
8
runs-on : ubuntu-latest
9
9
steps :
10
- - uses : actions/checkout@v4
10
+ # - uses: actions/checkout@v4
11
+ # with:
12
+ # fetch-depth: 0
13
+ # ref: ${{ github.event.pull_request.head.sha }}
14
+ # - name: Run clang-format
15
+ # run: |
16
+ # {
17
+ # echo 'CLANG_FORMAT_DIFF<<EOF'
18
+ # git clang-format-16 --diff origin/${{ github.base_ref }} || true
19
+ # echo EOF
20
+ # } >> "$GITHUB_ENV"
21
+ - uses : actions/github-script@v7
11
22
with :
12
- fetch-depth : 0
13
- ref : ${{ github.event.pull_request.head.sha }}
14
- - name : Run clang-format
15
- shell : bash
16
- run : git clang-format-16 --diff ${{ github.base_ref }}
23
+ script : |
24
+ octokit.rest.issues.createComment({
25
+ issue_number: context.issue.number,
26
+ owner: context.repo.owner,
27
+ repo: context.repo.repo,
28
+ body: 'hola'
29
+ })
You can’t perform that action at this time.
0 commit comments