Skip to content

Commit

Permalink
Fix daily semconv build workflow (open-telemetry#6034)
Browse files Browse the repository at this point in the history
  • Loading branch information
trask authored Jan 23, 2025
1 parent 23b153a commit 5ee3c7e
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/build-semconv-daily.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,3 +20,6 @@ jobs:
with:
success: ${{ needs.build-dev.result == 'success' }}
repo: open-telemetry/semantic-conventions
secrets:
opentelemetrybot_github_token:
${{ secrets.OPENTELEMETRYBOT_GITHUB_TOKEN }}
9 changes: 6 additions & 3 deletions .github/workflows/reusable-workflow-notification.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,10 @@ on:
repo:
type: string
required: false
secrets:
opentelemetrybot_github_token:
type: string
required: false

jobs:
workflow-notification:
Expand All @@ -20,10 +24,9 @@ jobs:

- name: Open issue or add comment if issue already open
env:
# need to use opentelemetrybot for opening issues in other repos
# need to use opentelemetrybot token when opening issues in other repos
GH_TOKEN:
${{ inputs.repo && secrets.OPENTELEMETRYBOT_GITHUB_TOKEN ||
secrets.GITHUB_TOKEN }}
${{ secrets.opentelemetrybot_github_token || secrets.GITHUB_TOKEN }}
run: |
if [ -z "${{ inputs.repo }}" ]; then
repo="$GITHUB_REPOSITORY"
Expand Down

0 comments on commit 5ee3c7e

Please sign in to comment.