From 624fe8287590aa6fd1ec260df84338a7ffaf1555 Mon Sep 17 00:00:00 2001 From: Jim Balhoff Date: Thu, 11 Jul 2024 09:49:04 -0400 Subject: [PATCH 1/2] Trying different post-comment action for inference_diff.yml --- .github/workflows/inference_diff.yml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/inference_diff.yml b/.github/workflows/inference_diff.yml index 4a08519763..fc02826bae 100644 --- a/.github/workflows/inference_diff.yml +++ b/.github/workflows/inference_diff.yml @@ -66,7 +66,6 @@ jobs: post_comment: needs: diff_classification runs-on: ubuntu-latest - container: docker://dvcorg/cml-py3:latest steps: - uses: actions/checkout@v4 - name: Download diff @@ -77,6 +76,9 @@ jobs: - name: Prepare comment run: "echo \"Here's a diff of how these changes impact the classified ontology: \n\" >comment.md; cat classification-diff.md/classification-diff.md >>comment.md" - name: Post comment + uses: NejcZdovc/comment-pr@v1.1.1 env: - repo_token: ${{ secrets.GITHUB_TOKEN }} - run: cml-send-comment comment.md + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + with: + file: "comment.md" + From f59a7c8f887033ce255e2b1dc680761ae62fa1bb Mon Sep 17 00:00:00 2001 From: Jim Balhoff Date: Thu, 11 Jul 2024 12:13:30 -0400 Subject: [PATCH 2/2] Update inference_diff.yml --- .github/workflows/inference_diff.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/inference_diff.yml b/.github/workflows/inference_diff.yml index fc02826bae..11a8a84733 100644 --- a/.github/workflows/inference_diff.yml +++ b/.github/workflows/inference_diff.yml @@ -80,5 +80,5 @@ jobs: env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: - file: "comment.md" + file: "../../comment.md"