From 886d75f61bc9eb9a04d1306dbf2142d94c22f2b2 Mon Sep 17 00:00:00 2001 From: Sherwin Varghese <141290943+Sherwin-14@users.noreply.github.com> Date: Sat, 4 Jan 2025 16:05:19 +0530 Subject: [PATCH 1/3] Discussions (#8) * add dispatch trigger * changed the print steps --- .github/workflows/discussions.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/discussions.yml b/.github/workflows/discussions.yml index 1d881f0f..7aa15b5b 100644 --- a/.github/workflows/discussions.yml +++ b/.github/workflows/discussions.yml @@ -14,7 +14,7 @@ jobs: env: GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} - + with: title: Feelings body: | @@ -27,5 +27,5 @@ jobs: - name: Print discussion url and id run: | - echo discussion-id: ${{steps.create-discussion.outputs.discussion-id}} - echo discussion-url: ${{steps.create-discussion.outputs.discussion-url}} + echo discussion-id: ${{ github.event.issue.number }} + echo discussion-url: ${{ github.event.issue.html_url }} From 4a68418d750db1229c9110e716a2209e95c9d89c Mon Sep 17 00:00:00 2001 From: Sherwin Varghese <141290943+Sherwin-14@users.noreply.github.com> Date: Sat, 4 Jan 2025 16:09:30 +0530 Subject: [PATCH 2/3] Discussions (#9) * add dispatch trigger * changed the print steps From 179f28ba384f6b8e4a9a838b5f98bdcfb18b5102 Mon Sep 17 00:00:00 2001 From: Sherwin Varghese <141290943+Sherwin-14@users.noreply.github.com> Date: Sat, 4 Jan 2025 16:15:28 +0530 Subject: [PATCH 3/3] Discussions (#10) * add dispatch trigger * changed the print steps * removed print statements --- .github/workflows/discussions.yml | 5 ----- 1 file changed, 5 deletions(-) diff --git a/.github/workflows/discussions.yml b/.github/workflows/discussions.yml index 7aa15b5b..3f64afe0 100644 --- a/.github/workflows/discussions.yml +++ b/.github/workflows/discussions.yml @@ -24,8 +24,3 @@ jobs: Use the "reply" feature to have a discussion under any given comment. repository-id: ${{ secrets.REPO_ID }} category-id: ${{ secrets.CAT_ID }} - - - name: Print discussion url and id - run: | - echo discussion-id: ${{ github.event.issue.number }} - echo discussion-url: ${{ github.event.issue.html_url }}