From b98a826737c8d114c42b208a23018393f13456fc Mon Sep 17 00:00:00 2001 From: Todd Baert Date: Thu, 18 Jan 2024 15:41:43 -0500 Subject: [PATCH] chore: add back reminder workflow Signed-off-by: Todd Baert --- .github/workflows/release-please.yaml | 23 ++++++++++++++++++++--- 1 file changed, 20 insertions(+), 3 deletions(-) diff --git a/.github/workflows/release-please.yaml b/.github/workflows/release-please.yaml index d137b57..5e62bda 100644 --- a/.github/workflows/release-please.yaml +++ b/.github/workflows/release-please.yaml @@ -11,8 +11,8 @@ permissions: jobs: release-please: permissions: - contents: write # for google-github-actions/release-please-action to create release commit - pull-requests: write # for google-github-actions/release-please-action to create release PR + contents: write # for google-github-actions/release-please-action to create release commit + pull-requests: write # for google-github-actions/release-please-action to create release PR runs-on: ubuntu-latest # Release-please creates a PR that tracks all changes @@ -28,7 +28,7 @@ jobs: # these are generated by release-please b/c this is in a manifest repo. buf_release_tag: ${{ steps.release.outputs.protobuf--tag_name }} json_release_tag: ${{ steps.release.outputs.json--tag_name }} - + push-module: needs: release-please name: push schema to buf registry @@ -44,3 +44,20 @@ jobs: # Push module to the BSR - name: bsr-push run: BUF_TOKEN="${{ secrets.BUF_TOKEN }}" buf push --tag "${{ needs.release-please.outputs.buf_release_tag }}" protobuf + + create-schema-store-issue: + needs: release-please + name: create schema release reminder issue + runs-on: ubuntu-latest + if: ${{ needs.release-please.outputs.releases_created && needs.release-please.outputs.json_release_tag }} + steps: + # Run `git checkout` + - uses: actions/checkout@v3 + with: + ref: ${{ needs.release-please.outputs.json_release_tag }} + - uses: JasonEtco/create-an-issue@v2 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + TAG: ${{ needs.release-please.outputs.json_release_tag }} + with: + filename: .github/schema-store-issue-template.md