Skip to content

Commit 942628d

Browse files
authored
[backport/v1.x] ci: make v1.x release PR workflow checkout correct branch (#5341)
1 parent 1fa5492 commit 942628d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/create-or-update-release-pr.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,13 +30,14 @@ jobs:
3030
uses: actions/checkout@v4
3131
with:
3232
repository: opentelemetrybot/opentelemetry-js
33-
ref: v1.x
33+
ref: main
3434
token: ${{ secrets.OPENTELEMETRYBOT_GITHUB_TOKEN }}
3535
- name: Sync with upstream
3636
run: |
3737
git remote show origin
3838
git remote add upstream https://github.com/open-telemetry/opentelemetry-js.git
3939
git fetch upstream
40+
git checkout v1.x
4041
git reset --hard upstream/v1.x
4142
git push origin v1.x --force
4243

0 commit comments

Comments
 (0)