You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
#Upload artifact (there are no real file attachments for issues and the max length may impose problems later, so we can't just use a <details> tag)
54
+
- id: upload-report
55
+
uses: actions/upload-artifact@v6
101
56
with:
102
-
branch: hermes/post-${{ github.run_id }}
103
-
base: ${{ env.TARGET_BRANCH }}
104
-
title: Review hermes post-processing results
105
-
body: |
106
-
This is an automated pull request created by HERMES post-processing.
107
-
108
-
Please carefully review the changes and finally merge them into your
57
+
name: softwarecard-report
58
+
path: ./hermes/curation/*
59
+
if-no-files-found: 'error'
60
+
retention-days: 90
61
+
- run: 'echo Report artifact accessible at ${{ steps.upload-report.outputs.artifact-url }}'
109
62
110
-
# Delete all the curation branches
111
63
- run: |
112
-
for BRANCH in $(git ls-remote origin 'refs/heads/hermes/curate-*' | cut -f2 | cut -d'/' -f'3-'); do
113
-
git push origin --delete "$BRANCH"
114
-
done
64
+
echo 'This is a stub message for Software CaRD report.' | tee -a report.md
65
+
echo 'Report artifact at ${{ steps.upload-report.outputs.artifact-url }}' | tee -a report.md
66
+
echo 'Rendered view at https://softwarepub.github.io/software-card/index.html?type=github&repoUrl=${{ github.repositoryUrl }}&artifactUrl=${{ steps.upload-report.outputs.artifact-url }}' | tee -a report.md
115
67
68
+
# Now create an issue and add the Software CaRD report
69
+
- name: Create Issue From File
70
+
uses: peter-evans/create-issue-from-file@v6
71
+
with:
72
+
title: An example issue
73
+
content-filepath: ./report.md
74
+
#labels: |
75
+
# report
76
+
# automated issue
77
+
- run: 'echo Created report in issue #${{ steps.create-report-issue.outputs.issue-number }}'
0 commit comments