From a51a3ded57d1b7ab4fe1d0ff9cfae290ed298225 Mon Sep 17 00:00:00 2001 From: Muhammad Farhan Khan Date: Mon, 19 Aug 2024 20:27:45 +0500 Subject: [PATCH] chore --- .github/workflows/bulk_issue_creator.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/bulk_issue_creator.yml b/.github/workflows/bulk_issue_creator.yml index 33d5706..99f7931 100644 --- a/.github/workflows/bulk_issue_creator.yml +++ b/.github/workflows/bulk_issue_creator.yml @@ -46,7 +46,7 @@ jobs: - name: Create issue list files run: | # Add headers in the files - echo "Organization, Repository, Issue Url" > issue_list.csv + echo "Organization, Repository, Issue Url, Issue Created" > issue_list.csv echo "---------------------------------------------------------------------" > issue_list.txt echo "List of issues created in the relevant repos." >> issue_list.txt echo "Output is in the tasks list format to directly copy them in git epic " >> issue_list.txt @@ -100,12 +100,13 @@ jobs: issue_url=$(echo "$response" | jq -r '.html_url') if [ "$issue_url" == "null" ]; then echo "Error: 'html_url' field not found in response" + echo "${{ github.event.inputs.organization }}, ${{ matrix.repo }}, $issue_url, No" >> issue_list.csv exit 1 fi echo "Issue url: $issue_url" # Append the issue to the issue list files - echo "${{ github.event.inputs.organization }}, ${{ matrix.repo }}, $issue_url" >> issue_list.csv + echo "${{ github.event.inputs.organization }}, ${{ matrix.repo }}, $issue_url, Yes" >> issue_list.csv echo "- [ ] ${{ matrix.repo }} $issue_url" >> issue_list.txt - name: Upload updated issue list files @@ -117,6 +118,7 @@ jobs: finalize_issues_list: runs-on: ubuntu-20.04 needs: [ bulk_issue_creation ] + if: always() steps: - name: Download issues-artifact uses: actions/download-artifact@v3