Skip to content

Commit

Permalink
check out core in same path
Browse files Browse the repository at this point in the history
  • Loading branch information
atoulme committed Dec 14, 2024
1 parent 8ec5221 commit fd0536d
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion .github/workflows/update-otel-cron.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,21 @@ jobs:
if: github.repository_owner == 'open-telemetry'
steps:
- uses: actions/checkout@v4
with:
path: opentelemetry-collector
repository: open-telemetry/opentelemetry-collector
ref: main
- uses: actions/checkout@v4
with:
path: opentelemetry-collector-contrib
- name: Update to latest opentelemetry-collector release
run: make update-otel
run: cd opentelemetry-collector-contrib && make update-otel
- name: Create pull request against main
env:
# not using secrets.GITHUB_TOKEN since pull requests from that token do not run workflows
GH_TOKEN: ${{ secrets.OPENTELEMETRYBOT_GITHUB_TOKEN }}
run: |
cd opentelemetry-collector-contrib
message="[chore] Update to latest opentelemetry-collector"
body="Update to latest opentelemetry-collector release."
branch="opentelemetrybot/update-otel"
Expand Down

0 comments on commit fd0536d

Please sign in to comment.