@@ -54,46 +54,46 @@ jobs:
54
54
echo "RELEASE_NOTES_BRANCH_NAME=$RELEASE_NOTES_BRANCH" >> $GITHUB_OUTPUT
55
55
env :
56
56
GH_TOKEN : ${{ github.token }}
57
- #
58
- # check-prs:
59
- # name: "Check PRs"
60
- # runs-on: ubuntu-latest
61
- # needs: [ prerequisites ]
62
- # permissions:
63
- # pull-requests: read
64
- # strategy:
65
- # matrix:
66
- # task:
67
- # - {
68
- # "name": "Code PR",
69
- # "branch": ${{ needs.prerequisites.outputs.code-branch }},
70
- # "repo": ${{ github.repository }},
71
- # "token": ${{ github.token }}
72
- # }
73
- # - {
74
- # "name": "Docs PR",
75
- # "branch": ${{ needs.prerequisites.outputs.docs-branch }},
76
- # "repo": ${{ env.DOCS_REPO }},
77
- # "token": ${{ secrets.BOT_SDK_JS_FOR_DOCS_REPO_PR }}
78
- # }
79
- # - {
80
- # "name": "Release Notes PR",
81
- # "branch": ${{ needs.prerequisites.outputs.release-notes-branch }},
82
- # "repo": ${{ env.DOCS_REPO }},
83
- # "token": ${{ secrets.BOT_SDK_JS_FOR_DOCS_REPO_PR }}
84
- # }
85
- # steps:
86
- # - uses: actions/checkout@v4
87
- # with:
88
- # ref: ${{ needs.prerequisites.outputs.code-branch }}
57
+
58
+ check-prs :
59
+ name : " Check PRs"
60
+ runs-on : ubuntu-latest
61
+ needs : [ prerequisites ]
62
+ permissions :
63
+ pull-requests : read
64
+ strategy :
65
+ matrix :
66
+ task :
67
+ - {
68
+ " name " : " Code PR" ,
69
+ " branch " : ${{ needs.prerequisites.outputs.code-branch }},
70
+ " repo " : ${{ github.repository }},
71
+ " token " : ${{ github.token }}
72
+ }
73
+ - {
74
+ " name " : " Docs PR" ,
75
+ " branch " : ${{ needs.prerequisites.outputs.docs-branch }},
76
+ " repo " : ${{ env.DOCS_REPO }},
77
+ " token " : ${{ secrets.BOT_SDK_JS_FOR_DOCS_REPO_PR }}
78
+ }
79
+ - {
80
+ " name " : " Release Notes PR" ,
81
+ " branch " : ${{ needs.prerequisites.outputs.release-notes-branch }},
82
+ " repo " : ${{ env.DOCS_REPO }},
83
+ " token " : ${{ secrets.BOT_SDK_JS_FOR_DOCS_REPO_PR }}
84
+ }
85
+ steps :
86
+ - uses : actions/checkout@v4
87
+ with :
88
+ ref : ${{ needs.prerequisites.outputs.code-branch }}
89
89
# - name: "Check Whether ${{ matrix.task.name }} Can Be Merged"
90
90
# uses: ./.github/actions/pr-is-mergeable
91
91
# with:
92
92
# pr-ref: ${{ matrix.task.branch }}
93
93
# repo: ${{ matrix.task.repo }}
94
94
# token: ${{ matrix.task.token }}
95
95
# fail-on-unmergeable: "true"
96
- #
96
+
97
97
release :
98
98
name : " Release"
99
99
needs : [ prerequisites ]
0 commit comments