File tree Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -508,7 +508,7 @@ jobs:
508
508
uses : ./
509
509
id : ActionOnBranch
510
510
env :
511
- GitHubToken : ${{ secrets.READ_ONLY_TOKEN }}
511
+ ReadOnlyToken : ${{ secrets.READ_ONLY_TOKEN }}
512
512
- name : Log in to ghcr.io
513
513
uses : docker/login-action@master
514
514
with :
Original file line number Diff line number Diff line change 28
28
uses = ' ./'
29
29
id = ' ActionOnBranch'
30
30
env = @ {
31
- GitHubToken = ' ${{ secrets.READ_ONLY_TOKEN }}'
31
+ ReadOnlyToken = ' ${{ secrets.READ_ONLY_TOKEN }}'
32
32
}
33
33
},
34
34
' BuildAndPublishContainer'
Original file line number Diff line number Diff line change 1
1
# requires -Module GQL
2
- if (-not $env: GitHubToken ) {
3
- Write-Warning " No GitHubToken found."
2
+ if (-not $env: ReadOnlyToken ) {
3
+ Write-Warning " No ReadOnlyToken found."
4
4
return
5
5
}
6
6
7
7
Push-Location $PSScriptRoot
8
8
9
9
# First, let's get the query
10
- gql - Query ./ GetSchemaTypes.gql - PersonalAccessToken $env: GitHubToken - Cache - OutputPath ./ GitHubGraphTypes.json
10
+ gql - Query ./ GetSchemaTypes.gql - PersonalAccessToken $env: ReadOnlyToken - Cache - OutputPath ./ GitHubGraphTypes.json
11
11
12
12
Pop-Location
You can’t perform that action at this time.
0 commit comments