File tree Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change 2020 const prBody = context.payload.body;
2121 const prNumber = context.payload.number;
2222 const releaseLabel = process.env.RELEASE_LABEL;
23+ const maintainersTeam = process.env.MAINTAINERS_TEAM
2324
2425 const RELATED_ISSUE_REGEX = /Issue number:.+(\d)/
2526
3637 labels: [releaseLabel]
3738 })
3839 } else {
39- let msg = `${MAINTAINERS_TEAM } No related issues found. Please ensure '${RELEASE_LABEL}.' label is applied before releasing.`;
40+ let msg = `${maintainersTeam } No related issues found. Please ensure '${RELEASE_LABEL}.' label is applied before releasing.`;
4041 await github.rest.issues.createComment({
4142 owner: context.repo.owner,
4243 repo: context.repo.repo,
Original file line number Diff line number Diff line change 2727 - name : " Ensure related issue is present"
2828 uses : actions/github-script@v6
2929 with :
30+ github-token : ${{ secrets.GITHUB_TOKEN }}
3031 # Maintenance: convert into a standalone JS like post_release.js
3132 script : |
3233 const prBody = ${{ needs.get_pr_details.outputs.prBody }};
You can’t perform that action at this time.
0 commit comments