Skip to content

Commit c1c9b41

Browse files
committed
scope GH_TOKEN to the steps that use gh
1 parent bc6c1aa commit c1c9b41

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

‎.github/workflows/os-llvm-sycl-build-windows.yml‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@ jobs:
2424
timeout-minutes: 120
2525

2626
env:
27-
GH_TOKEN: ${{ github.token }}
2827
PINS: .github/sycl-build-deps.env
2928

3029
steps:
@@ -50,6 +49,7 @@ jobs:
5049
- name: Resolve nightly build
5150
shell: bash
5251
env:
52+
GH_TOKEN: ${{ github.token }}
5353
NIGHTLY_TAG: ${{ inputs.nightly-tag }}
5454
run: |
5555
set -euo pipefail
@@ -66,6 +66,8 @@ jobs:
6666
6767
- name: Download and install nightly and components
6868
shell: pwsh
69+
env:
70+
GH_TOKEN: ${{ github.token }}
6971
run: |
7072
$ErrorActionPreference = 'Stop'
7173
$PSNativeCommandUseErrorActionPreference = $true

0 commit comments

Comments
 (0)