Skip to content

Commit

Permalink
[backport/v1.x] ci: make v1.x release PR workflow checkout correct br…
Browse files Browse the repository at this point in the history
…anch (#5341)
  • Loading branch information
pichlermarc authored Jan 14, 2025
1 parent 1fa5492 commit 942628d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/create-or-update-release-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,13 +30,14 @@ jobs:
uses: actions/checkout@v4
with:
repository: opentelemetrybot/opentelemetry-js
ref: v1.x
ref: main
token: ${{ secrets.OPENTELEMETRYBOT_GITHUB_TOKEN }}
- name: Sync with upstream
run: |
git remote show origin
git remote add upstream https://github.com/open-telemetry/opentelemetry-js.git
git fetch upstream
git checkout v1.x
git reset --hard upstream/v1.x
git push origin v1.x --force
Expand Down

0 comments on commit 942628d

Please sign in to comment.