diff --git a/.github/workflows/backport-prs.yml b/.github/workflows/backport-prs.yml index 681b32a..2ceae5d 100644 --- a/.github/workflows/backport-prs.yml +++ b/.github/workflows/backport-prs.yml @@ -28,6 +28,7 @@ jobs: const owner = context.repo.owner; const repo = context.repo.repo; const mergeCommitSha = context.payload.head_commit.id; + const assignees = ['matttrach', 'jiaqiluo', 'HarrisonWAffel']; const { data: associatedPrs } = await github.rest.repos.listPullRequestsAssociatedWithCommit({ owner, @@ -99,9 +100,9 @@ jobs: head: newBranchName, base: targetBranch, body: "This pull request cherry-picks the changes from #" + pr.number + " into " + targetBranch + "\n" + - "Addresses #" + subIssueNumber + "for #" + mainIssue.number + " \n\n" + + "Addresses #" + subIssueNumber + " for #" + mainIssue.number + " \n\n" + "**WARNING!**: to avoid having to resolve merge conflicts this PR is generated with `git cherry-pick -X theirs`.\n" + "Please make sure to carefully inspect this PR so that you don't accidentally revert anything!", - assignees: ['terraform-maintainers'] + assignees: assignees }); } diff --git a/.github/workflows/backport.yml b/.github/workflows/backport.yml index f7b0014..6472936 100644 --- a/.github/workflows/backport.yml +++ b/.github/workflows/backport.yml @@ -42,7 +42,7 @@ jobs: const repo = context.repo.repo; const owner = context.repo.owner; const parentIssueBody = parentIssue.body; - const assignees = ['matttrach', 'jiaqiluo', 'HarrisonWAffel'] + const assignees = ['matttrach', 'jiaqiluo', 'HarrisonWAffel']; const prNumber = ${{ steps.extract_pr.outputs.result }}; diff --git a/.github/workflows/main-issue.yml b/.github/workflows/main-issue.yml index 723254c..9cfebfa 100644 --- a/.github/workflows/main-issue.yml +++ b/.github/workflows/main-issue.yml @@ -23,7 +23,7 @@ jobs: if (releaseLabel) { newLabels.push(releaseLabel); } - const assignees = ['matttrach', 'jiaqiluo', 'HarrisonWAffel'] + const assignees = ['matttrach', 'jiaqiluo', 'HarrisonWAffel']; // Note: can't get terraform-maintainers team, the default token can't access org level objects // Create the main issue