File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3939 description : The entry ID for the team field in the Google Form
4040 required : true
4141 type : string
42+ entry-repo-name :
43+ description : The entry ID for the repository name field
44+ required : true
45+ type : string
46+ entry-issue-url :
47+ description : The entry ID for the GitHub issue URL field
48+ required : true
49+ type : string
50+
4251
4352jobs :
4453 post-rca-form :
5665 ENTRY_ISSUE : ${{ inputs.entry-issue }}
5766 ENTRY_REGRESSION : ${{ inputs.entry-regression }}
5867 ENTRY_TEAM : ${{ inputs.entry-team }}
68+ ENTRY_REPO_NAME : ${{ inputs.entry-repo-name }}
69+ ENTRY_ISSUE_URL : ${{ inputs.entry-issue-url }}
5970 with :
6071 github-token : ${{ secrets.GITHUB_TOKEN }}
6172 script : |
6475 ENTRY_ISSUE,
6576 ENTRY_REGRESSION,
6677 ENTRY_TEAM,
78+ ENTRY_REPO_NAME,
79+ ENTRY_ISSUE_URL,
6780 OWNER_NAME: owner,
6881 REPO_NAME: repo,
6982 ISSUE_NUMBER: issueNumStr,
@@ -109,6 +122,9 @@ jobs:
109122 teamLabels.length ? teamLabels.join(',') : ''
110123 );
111124
125+ formUrl.searchParams.set(ENTRY_REPO_NAME, repo);
126+ formUrl.searchParams.set(ENTRY_ISSUE_URL, `https://github.com/${owner}/${repo}/issues/${issue_number}`);
127+
112128 const assignees = issue.assignees.map(u=>`@${u.login}`).join(', ');
113129 const body = `Hi ${assignees},
114130
You can’t perform that action at this time.
0 commit comments