File tree 2 files changed +3
-1
lines changed
2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change 20
20
const prBody = context.payload.body;
21
21
const prNumber = context.payload.number;
22
22
const releaseLabel = process.env.RELEASE_LABEL;
23
+ const maintainersTeam = process.env.MAINTAINERS_TEAM
23
24
24
25
const RELATED_ISSUE_REGEX = /Issue number:.+(\d)/
25
26
36
37
labels: [releaseLabel]
37
38
})
38
39
} 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.`;
40
41
await github.rest.issues.createComment({
41
42
owner: context.repo.owner,
42
43
repo: context.repo.repo,
Original file line number Diff line number Diff line change 27
27
- name : " Ensure related issue is present"
28
28
uses : actions/github-script@v6
29
29
with :
30
+ github-token : ${{ secrets.GITHUB_TOKEN }}
30
31
# Maintenance: convert into a standalone JS like post_release.js
31
32
script : |
32
33
const prBody = ${{ needs.get_pr_details.outputs.prBody }};
You can’t perform that action at this time.
0 commit comments