Skip to content

Commit 923becf

Browse files
committed
chore(ci): never gonna give you up
1 parent 65e875b commit 923becf

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed

.github/scripts/label_related_issue.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,9 @@ module.exports = async ({github, context, core}) => {
22
const prBody = process.env.PR_BODY;
33
const prNumber = process.env.PR_NUMBER;
44
const releaseLabel = process.env.RELEASE_LABEL;
5-
const maintainersTeam = process.env.MAINTAINERS_TEAM
5+
const maintainersTeam = process.env.MAINTAINERS_TEAM;
6+
7+
console.log(prBody);
68

79
const RELATED_ISSUE_REGEX = /Issue number:[^\d\r\n]+(?<issue>\d+)/;
810

.github/workflows/label_pr_on_title.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ jobs:
2525
- name: "Label PR based on title"
2626
uses: actions/github-script@v6
2727
env:
28+
PR_BODY: ${{ needs.get_pr_details.outputs.prBody }}
2829
PR_NUMBER: ${{ needs.get_pr_details.outputs.prNumber }}
2930
PR_TITLE: ${{ needs.get_pr_details.outputs.prTitle }}
3031
with:

.github/workflows/reusable_export_pr_details.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@ on:
3030
description: "Whether PR is merged"
3131
value: ${{ jobs.export_pr_details.outputs.prIsMerged }}
3232

33-
name: Export Pull Request details from fork
3433
jobs:
3534
export_pr_details:
3635
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)