We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4917749 commit 675b479Copy full SHA for 675b479
2 files changed
.github/workflows/ci_lin.yml
@@ -27,4 +27,5 @@ jobs:
27
fetch-depth: ${{ env.PR_FETCH_DEPTH }}
28
- name: Run clang-format
29
uses: ./devops/actions/clang-format-SYCLomatic
30
-
+ with:
31
+ github_token: ${{ secrets.GITHUB_TOKEN }}
devops/actions/clang-format-SYCLomatic/action.yml
@@ -1,5 +1,10 @@
1
name: 'clang-format'
2
description: 'Run clang-format on pull request'
3
+inputs:
4
+ github_token:
5
+ description: 'GitHub Token'
6
+ required: true
7
+
8
runs:
9
using: "composite"
10
steps:
@@ -12,8 +17,9 @@ runs:
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 }}
23
run: |
24
PR_NUMBER=${{ github.event.pull_request.number }}
25
REPO_FULL_NAME=${{ github.repository }}
0 commit comments