Skip to content

Commit be0482d

Browse files
authored
CLean create-release-branch workflow (#10669)
CLean create-release-branch workflow Co-authored-by: sarah.chen <sarah.chen@datadoghq.com>
1 parent eb408cf commit be0482d

2 files changed

Lines changed: 7 additions & 121 deletions

File tree

.github/workflows/create-release-branch.yaml

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Create Release Branch
1+
name: Create Release Branch and Pin System Tests
22

33
on:
44
push:
@@ -37,13 +37,12 @@ jobs:
3737
id: define-release-branch
3838
run: |
3939
TAG=${{ steps.determine-tag.outputs.tag }}
40-
echo "branch=test/${TAG%.0}.x" >> "$GITHUB_OUTPUT" # TODO: change back to release/ branch after testing
40+
echo "branch=release/${TAG%.0}.x" >> "$GITHUB_OUTPUT"
4141
42-
- name: Checkout dd-trace-java at tag
42+
- name: Check out repo at tag
4343
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # 6.0.2
44-
# TODO: uncomment after testing
45-
# with:
46-
# ref: ${{ steps.determine-tag.outputs.tag }}
44+
with:
45+
ref: ${{ steps.determine-tag.outputs.tag }}
4746

4847
- name: Check if branch already exists
4948
id: check-release-branch
@@ -76,7 +75,7 @@ jobs:
7675
scope: DataDog/dd-trace-java
7776
policy: self.pin-system-tests.create-pr
7877

79-
- name: Checkout dd-trace-java at release branch
78+
- name: Check out repo at release branch
8079
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # 6.0.2
8180
with:
8281
ref: ${{ needs.create-release-branch.outputs.release-branch-name }}
@@ -86,7 +85,7 @@ jobs:
8685
run: |
8786
echo "sha=$(git rev-parse HEAD)" >> $GITHUB_OUTPUT
8887
89-
- name: Define pin-system-tests branch name
88+
- name: Define pin-system-tests branch name from date
9089
id: define-pin-branch
9190
run: echo "branch=ci/pin-system-tests-$(date +'%Y%m%d')" >> $GITHUB_OUTPUT
9291

.github/workflows/pin-system-tests.yaml

Lines changed: 0 additions & 113 deletions
This file was deleted.

0 commit comments

Comments
 (0)