From e84e90e90545e2828d006e7c60ac0d9fc7fc5abe Mon Sep 17 00:00:00 2001 From: Tom de Bruijn Date: Wed, 12 Jun 2024 10:56:00 +0200 Subject: [PATCH] Send assignee in changelog PR dispatch Include who published the release so that not everyone in the team gets asked for a review. --- .github/workflows/create_release_from_tag.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/create_release_from_tag.yml b/.github/workflows/create_release_from_tag.yml index fe13e20..ea6d300 100644 --- a/.github/workflows/create_release_from_tag.yml +++ b/.github/workflows/create_release_from_tag.yml @@ -51,7 +51,8 @@ jobs: --arg category "$CHANGELOG_CATEGORY" \ --arg version "$(echo "${{ env.TAG_NAME }}" | sed 's/^v//')" \ --arg changelog "$(cat CHANGELOG_TEXT.txt)" \ - '{ref: "main", inputs: {title: $title, category: $category, version: $version, changelog: $changelog}}') + --arg assignee "${{ github.actor }}" \ + '{ref: "main", inputs: {title: $title, category: $category, version: $version, changelog: $changelog, assignee: $assignee}}') curl -X POST \ -H "Authorization: token ${{ secrets.INTEGRATIONS_CHANGELOG_TOKEN }}" \