From 8d3f2bcc1b4a59068462111afea85eb5a3e60fc2 Mon Sep 17 00:00:00 2001 From: fynnbe Date: Sat, 18 Jan 2025 01:39:36 +0100 Subject: [PATCH] edit title after upload --- .github/workflows/upload_via_issue.yaml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/upload_via_issue.yaml b/.github/workflows/upload_via_issue.yaml index d713889..819c5e2 100644 --- a/.github/workflows/upload_via_issue.yaml +++ b/.github/workflows/upload_via_issue.yaml @@ -87,7 +87,9 @@ jobs: bioimage.io @reviewers were notified. - if: needs.stage.result == 'success' - run: gh issue close "$NUMBER" --reason=completed --comment="$MESSAGE" + run: | + gh issue close "$NUMBER" --reason=completed --comment="$MESSAGE" + gh issue edit "$NUMBER" --title="$TITLE" env: GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} GH_REPO: ${{ github.repository }} @@ -96,7 +98,7 @@ jobs: Successfully staged new draft '${{needs.stage.outputs.concept_id}}' from ${{needs.comment.outputs.package_url}} ! :rocket: Status and test results of your upload can be found [here](https://bioimageio-uploader.netlify.app/#/status/${{needs.stage.outputs.concept_id}}). - + TITLE: "@bioimageiobot, please upload ${{needs.stage.outputs.concept_id}}" dispatch-test: runs-on: ubuntu-latest needs: stage