|
1 | | -name: Create Release Branch |
| 1 | +name: Create Release Branch and Pin System Tests |
2 | 2 |
|
3 | 3 | on: |
4 | 4 | push: |
@@ -37,13 +37,12 @@ jobs: |
37 | 37 | id: define-release-branch |
38 | 38 | run: | |
39 | 39 | 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" |
41 | 41 |
|
42 | | - - name: Checkout dd-trace-java at tag |
| 42 | + - name: Check out repo at tag |
43 | 43 | 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 }} |
47 | 46 |
|
48 | 47 | - name: Check if branch already exists |
49 | 48 | id: check-release-branch |
|
76 | 75 | scope: DataDog/dd-trace-java |
77 | 76 | policy: self.pin-system-tests.create-pr |
78 | 77 |
|
79 | | - - name: Checkout dd-trace-java at release branch |
| 78 | + - name: Check out repo at release branch |
80 | 79 | uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # 6.0.2 |
81 | 80 | with: |
82 | 81 | ref: ${{ needs.create-release-branch.outputs.release-branch-name }} |
|
86 | 85 | run: | |
87 | 86 | echo "sha=$(git rev-parse HEAD)" >> $GITHUB_OUTPUT |
88 | 87 |
|
89 | | - - name: Define pin-system-tests branch name |
| 88 | + - name: Define pin-system-tests branch name from date |
90 | 89 | id: define-pin-branch |
91 | 90 | run: echo "branch=ci/pin-system-tests-$(date +'%Y%m%d')" >> $GITHUB_OUTPUT |
92 | 91 |
|
|
0 commit comments