Commit e82c692 1 parent c81613f commit e82c692 Copy full SHA for e82c692
File tree 2 files changed +8
-4
lines changed
2 files changed +8
-4
lines changed Original file line number Diff line number Diff line change 20
20
with :
21
21
success : ${{ needs.build-dev.result == 'success' }}
22
22
repo : open-telemetry/semantic-conventions
23
+ secrets :
24
+ opentelemetrybot_github_token : ${{ secrets.OPENTELEMETRYBOT_GITHUB_TOKEN }}
Original file line number Diff line number Diff line change 11
11
repo :
12
12
type : string
13
13
required : false
14
+ secrets :
15
+ opentelemetrybot_github_token :
16
+ type : string
17
+ required : false
14
18
15
19
jobs :
16
20
workflow-notification :
20
24
21
25
- name : Open issue or add comment if issue already open
22
26
env :
23
- # need to use opentelemetrybot for opening issues in other repos
24
- GH_TOKEN :
25
- ${{ inputs.repo && secrets.OPENTELEMETRYBOT_GITHUB_TOKEN ||
26
- secrets.GITHUB_TOKEN }}
27
+ # need to use opentelemetrybot token when opening issues in other repos
28
+ GH_TOKEN : ${{ secrets.opentelemetrybot_github_token || secrets.GITHUB_TOKEN }}
27
29
run : |
28
30
if [ -z "${{ inputs.repo }}" ]; then
29
31
repo="$GITHUB_REPOSITORY"
You can’t perform that action at this time.
0 commit comments