From a5a8907bb35d71574f24685c97738087d1224662 Mon Sep 17 00:00:00 2001 From: Sayali Gaikawad Date: Mon, 15 Jul 2024 13:42:11 -0700 Subject: [PATCH 1/4] Automate retrospective issue creation Signed-off-by: Sayali Gaikawad --- .../release_retrospective_template.md | 14 ++++++++++++++ .github/workflows/releases.yml | 11 +++++++++++ 2 files changed, 25 insertions(+) create mode 100644 .github/ISSUE_TEMPLATE/release_retrospective_template.md diff --git a/.github/ISSUE_TEMPLATE/release_retrospective_template.md b/.github/ISSUE_TEMPLATE/release_retrospective_template.md new file mode 100644 index 0000000000..4376b115fe --- /dev/null +++ b/.github/ISSUE_TEMPLATE/release_retrospective_template.md @@ -0,0 +1,14 @@ +--- +name: Release retrospective +title: "[Retrospective] Release Version {{ env.VERSION }}" +labels: untriaged, release, v{{ env.VERSION }} +--- + +### **Related release issue?** +{{ env.RELEASE_ISSUE_URL }} + +### **How to use this issue?** +Please add comments to this [Retro Board](https://github.com/orgs/opensearch-project/projects/205/views/4), they can be small or large in scope. Honest feedback is important to improve our processes, suggestions are also welcomed but not required. + +### **What will happen to this issue post release?** +There will be a discussion(s) about how the release went and how the next release can be improved. Then this issue will be updated with the notes of that discussion along side action items. \ No newline at end of file diff --git a/.github/workflows/releases.yml b/.github/workflows/releases.yml index e7e2994e9a..2672bae258 100644 --- a/.github/workflows/releases.yml +++ b/.github/workflows/releases.yml @@ -26,6 +26,7 @@ jobs: steps: - uses: actions/checkout@v3 - uses: dblock/create-a-github-issue@v3.0.0 + id: release-issue env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} VERSION: ${{ matrix.release_version }} @@ -33,3 +34,13 @@ jobs: search_existing: all update_existing: false filename: .github/ISSUE_TEMPLATE/release_template.md + - uses: dblock/create-a-github-issue@v3.0.0 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + VERSION: ${{ matrix.release_version }} + RELEASE_ISSUE_URL: ${{ steps.release-issue.outputs.url }} + with: + search_existing: all + update_existing: false + filename: .github/ISSUE_TEMPLATE/release_retrospective_template.md + From 0831ec9d912a4939bb89088a7d316b4f8e058e0b Mon Sep 17 00:00:00 2001 From: Sayali Gaikawad Date: Mon, 15 Jul 2024 13:46:22 -0700 Subject: [PATCH 2/4] Lint Signed-off-by: Sayali Gaikawad --- .github/workflows/releases.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/workflows/releases.yml b/.github/workflows/releases.yml index 2672bae258..a4e224b50c 100644 --- a/.github/workflows/releases.yml +++ b/.github/workflows/releases.yml @@ -43,4 +43,3 @@ jobs: search_existing: all update_existing: false filename: .github/ISSUE_TEMPLATE/release_retrospective_template.md - From f3656efe1c677dfef00b097ed8e2e977feeddd29 Mon Sep 17 00:00:00 2001 From: Sayali Gaikawad Date: Mon, 15 Jul 2024 17:09:11 -0700 Subject: [PATCH 3/4] Update the template Signed-off-by: Sayali Gaikawad --- .github/ISSUE_TEMPLATE/release_retrospective_template.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/ISSUE_TEMPLATE/release_retrospective_template.md b/.github/ISSUE_TEMPLATE/release_retrospective_template.md index 4376b115fe..e001c9de54 100644 --- a/.github/ISSUE_TEMPLATE/release_retrospective_template.md +++ b/.github/ISSUE_TEMPLATE/release_retrospective_template.md @@ -8,7 +8,7 @@ labels: untriaged, release, v{{ env.VERSION }} {{ env.RELEASE_ISSUE_URL }} ### **How to use this issue?** -Please add comments to this [Retro Board](https://github.com/orgs/opensearch-project/projects/205/views/4), they can be small or large in scope. Honest feedback is important to improve our processes, suggestions are also welcomed but not required. +Please add comments to this issue, they can be small or large in scope. Honest feedback is important to improve our processes, suggestions are also welcomed but not required. ### **What will happen to this issue post release?** There will be a discussion(s) about how the release went and how the next release can be improved. Then this issue will be updated with the notes of that discussion along side action items. \ No newline at end of file From c282790aeb5df890f477e34f1c30766b5613a1de Mon Sep 17 00:00:00 2001 From: Sayali Gaikawad Date: Tue, 16 Jul 2024 12:35:51 -0700 Subject: [PATCH 4/4] Add expressions Signed-off-by: Sayali Gaikawad --- .github/workflows/releases.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/releases.yml b/.github/workflows/releases.yml index a4e224b50c..8fa22d2cd1 100644 --- a/.github/workflows/releases.yml +++ b/.github/workflows/releases.yml @@ -25,7 +25,8 @@ jobs: release_version: ${{ fromJson(needs.list-manifest-versions.outputs.matrix) }} steps: - uses: actions/checkout@v3 - - uses: dblock/create-a-github-issue@v3.0.0 + - name: Create release issue + uses: dblock/create-a-github-issue@v3.0.0 id: release-issue env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} @@ -34,7 +35,9 @@ jobs: search_existing: all update_existing: false filename: .github/ISSUE_TEMPLATE/release_template.md - - uses: dblock/create-a-github-issue@v3.0.0 + - name: Create retrospective issue + uses: dblock/create-a-github-issue@v3.0.0 + if: ${{ steps.release-issue.outputs.status == 'created' }} env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} VERSION: ${{ matrix.release_version }}