Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix daily semconv build workflow #6034

Merged
merged 2 commits into from
Jan 23, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading