From 5bce1fa0b824b19403f01a5e3b77a40f787b0821 Mon Sep 17 00:00:00 2001 From: Barahalikar Siddharth Date: Wed, 1 Nov 2023 22:58:12 +0530 Subject: [PATCH 1/5] ds --- .github/workflows/ccc.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ccc.yml b/.github/workflows/ccc.yml index 6810ec3..7bf2c76 100644 --- a/.github/workflows/ccc.yml +++ b/.github/workflows/ccc.yml @@ -18,4 +18,6 @@ jobs: - name: Run when check run is completed if: github.event.action == 'completed' - run: echo "A check run was completed." \ No newline at end of file + run: echo "A check run was completed." + + \ No newline at end of file From 7e60ada94877a9d4ecf77550a9f323609a216c32 Mon Sep 17 00:00:00 2001 From: Barahalikar Siddharth Date: Wed, 1 Nov 2023 23:04:10 +0530 Subject: [PATCH 2/5] ok --- .github/workflows/dispatch.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/dispatch.yml b/.github/workflows/dispatch.yml index c7da771..85b8142 100644 --- a/.github/workflows/dispatch.yml +++ b/.github/workflows/dispatch.yml @@ -41,7 +41,7 @@ jobs: env: GH_TOKEN: ${{ github.token }} run: | - gh api -X PATCH -H "Accept: application/vnd.github+json" \ + gh api -X PATCH -H "Accept: application/vnd.github+json" \ -H "X-GitHub-Api-Version: 2022-11-28" \ /repos/${{ github.repository }}/check-runs/${{ github.event.client_payload.checkRunId }} \ --input - <<- EOF @@ -54,4 +54,4 @@ jobs: "text": "Everything worked as expected. You should see a logo above." } } - EOF \ No newline at end of file + EOF \ No newline at end of file From d20d8e93989f88dabfee95e7c4ab3bcff527eadd Mon Sep 17 00:00:00 2001 From: Barahalikar Siddharth Date: Wed, 1 Nov 2023 23:07:35 +0530 Subject: [PATCH 3/5] sf --- .github/workflows/dispatch.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/dispatch.yml b/.github/workflows/dispatch.yml index 85b8142..723fe64 100644 --- a/.github/workflows/dispatch.yml +++ b/.github/workflows/dispatch.yml @@ -44,7 +44,7 @@ jobs: gh api -X PATCH -H "Accept: application/vnd.github+json" \ -H "X-GitHub-Api-Version: 2022-11-28" \ /repos/${{ github.repository }}/check-runs/${{ github.event.client_payload.checkRunId }} \ - --input - <<- EOF + --input - <<-EOF { "conclusion": "success", "details_url": "https://details.kenmuse.com", From 55e85c401742bf88cd3d4a0288cec48e81149921 Mon Sep 17 00:00:00 2001 From: Barahalikar Siddharth Date: Wed, 1 Nov 2023 23:08:02 +0530 Subject: [PATCH 4/5] 10 --- .github/workflows/dispatch.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/dispatch.yml b/.github/workflows/dispatch.yml index 723fe64..765ae30 100644 --- a/.github/workflows/dispatch.yml +++ b/.github/workflows/dispatch.yml @@ -28,7 +28,7 @@ jobs: # Actually, we'll just sleep to simulate some work #################################################### - name: Processing - run: sleep 120 + run: sleep 10 ##################################################### # Send a final message to complete the run and From b8ea3ab2436c11d063294cff7660c13137cdb454 Mon Sep 17 00:00:00 2001 From: Barahalikar Siddharth Date: Wed, 1 Nov 2023 23:13:03 +0530 Subject: [PATCH 5/5] asd --- .github/workflows/dispatch.yml | 19 +++++++------------ 1 file changed, 7 insertions(+), 12 deletions(-) diff --git a/.github/workflows/dispatch.yml b/.github/workflows/dispatch.yml index 765ae30..da40e0d 100644 --- a/.github/workflows/dispatch.yml +++ b/.github/workflows/dispatch.yml @@ -41,17 +41,12 @@ jobs: env: GH_TOKEN: ${{ github.token }} run: | - gh api -X PATCH -H "Accept: application/vnd.github+json" \ + gh api -X PATCH -H "Accept: application/vnd.github+json" \ -H "X-GitHub-Api-Version: 2022-11-28" \ + -f 'status=success' \ + -f 'details_url=status=success' \ + -f 'output[title]=My Check Run Title 🚀' \ + -f 'output[summary]=**Summary**: The run completed.' \ + -f 'output[text]=Everything worked as expected. You should see a logo above.' \ /repos/${{ github.repository }}/check-runs/${{ github.event.client_payload.checkRunId }} \ - --input - <<-EOF - { - "conclusion": "success", - "details_url": "https://details.kenmuse.com", - "output": { - "title": "My Check Run Title 🚀", - "summary": "**Summary**: The run completed.", - "text": "Everything worked as expected. You should see a logo above." - } - } - EOF \ No newline at end of file + \ No newline at end of file