From 006cb4c8bc30b0c2ca20876ca0ab78ae149fc59f Mon Sep 17 00:00:00 2001 From: mahf708 Date: Thu, 25 Jan 2024 10:30:13 -0800 Subject: [PATCH] don't open new issues; comment on them --- .github/workflows/eamxx_default_files.yml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/eamxx_default_files.yml b/.github/workflows/eamxx_default_files.yml index 9d23db717a8..a8ca96d31f8 100644 --- a/.github/workflows/eamxx_default_files.yml +++ b/.github/workflows/eamxx_default_files.yml @@ -41,7 +41,7 @@ jobs: --json number \ --jq '.[0].number') if [[ -n $previous_issue_number ]]; then - gh issue edit "$previous_issue_number" \ + gh issue comment "$previous_issue_number" \ --body "$BODY" else gh issue create \ @@ -57,7 +57,6 @@ jobs: ASSIGNEES: mahf708,bartgol LABELS: bug,input file,notify-file-gh-action BODY: | - Workflow failed! There's likely a missing file specified in the configs! - For more information, please see: - - Workflow URL: https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }} + Workflow failed! There's likely a missing file specified in the configs! For more information, please see: + - Workflow URL: https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }} (number ${{ github.run_number }}, attempt ${{ github.run_attempt }}) - Workflow SHA: ${{ github.sha }}