File tree Expand file tree Collapse file tree 2 files changed +9
-2
lines changed
devops/actions/clang-format-SYCLomatic Expand file tree Collapse file tree 2 files changed +9
-2
lines changed Original file line number Diff line number Diff line change 27
27
fetch-depth : ${{ env.PR_FETCH_DEPTH }}
28
28
- name : Run clang-format
29
29
uses : ./devops/actions/clang-format-SYCLomatic
30
-
30
+ with :
31
+ github_token : ${{ secrets.GITHUB_TOKEN }}
Original file line number Diff line number Diff line change 1
1
name : ' clang-format'
2
2
description : ' Run clang-format on pull request'
3
+ inputs :
4
+ github_token :
5
+ description : ' GitHub Token'
6
+ required : true
7
+
3
8
runs :
4
9
using : " composite"
5
10
steps :
12
17
13
18
- name : Get changed files
14
19
id : changed-files
20
+ shell : bash
15
21
env :
16
- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
22
+ GITHUB_TOKEN : ${{ inputs.github_token }}
17
23
run : |
18
24
PR_NUMBER=${{ github.event.pull_request.number }}
19
25
REPO_FULL_NAME=${{ github.repository }}
You can’t perform that action at this time.
0 commit comments