Skip to content
Open
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
8 changes: 6 additions & 2 deletions .github/renovate.json5
Original file line number Diff line number Diff line change
Expand Up @@ -173,9 +173,13 @@
{
"customType": "regex",
"description": "Update Semantic Conventions version in Rake files",
"managerFilePatterns": ["/^semantic_conventions/Rakefile$/"],
"managerFilePatterns": [
"/^semantic_conventions/Rakefile$/",
"/^semantic_conventions/semconv.yaml"$/"
],
"matchStrings": [
"SPEC_VERSION = '(?<currentValue>.*?)'"
"SPEC_VERSION = '(?<currentValue>.*?)'",
"spec_version: '(?<currentValue>.*?)'"
],
"depNameTemplate": "open-telemetry/semantic-conventions",
"datasourceTemplate": "github-releases",
Expand Down
12 changes: 11 additions & 1 deletion .github/workflows/release-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,11 @@ on:
description: Components to release (leave blank to release all components)
required: false
default: ""
push:
branches:
- main
paths:
- "semantic_conventions/semconv.yaml"

permissions:
contents: read
Expand Down Expand Up @@ -34,11 +39,16 @@ jobs:
with:
app-id: ${{ vars.OTELBOT_RUBY_APP_ID }}
private-key: ${{ secrets.OTELBOT_RUBY_PRIVATE_KEY }}
- name: Determine releases
id: detect
if: ${{ github.event_name == 'push' }}
run: |
echo "components=opentelemetry-semantic_conventions" >> $GITHUB_OUTPUT
- name: Open release pull request
env:
# Use an app token instead of GITHUB_TOKEN to trigger workflows
GITHUB_TOKEN: ${{ steps.app-token.outputs.token }}
RELEASE_NAMES: ${{ github.event.inputs.names }}
RELEASE_NAMES: ${{ github.event.inputs.names || steps.detect.outputs.components }}
TARGET_BRANCH: ${{ github.ref }}
run: |
bundle exec toys release request --yes --verbose \
Expand Down
1 change: 1 addition & 0 deletions semantic_conventions/semconv.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
spec_version: '1.40.0'
Loading