Skip to content

Commit

Permalink
chore
Browse files Browse the repository at this point in the history
  • Loading branch information
farhan committed Aug 19, 2024
1 parent 67227c0 commit a51a3de
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/bulk_issue_creator.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit a51a3de

Please sign in to comment.