Skip to content

Commit 33e2e99

Browse files
committed
test: skip hermes execution in workflow
1 parent 0b12a2f commit 33e2e99

1 file changed

Lines changed: 12 additions & 14 deletions

File tree

.github/workflows/hermes_github.yml

Lines changed: 12 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,8 @@ jobs:
2121
name: Prepare Metadata for Curation
2222
runs-on: ubuntu-latest
2323

24-
if: >
25-
github.event_name == 'push' && ! (
26-
startsWith(github.ref_name, 'hermes/') ||
27-
contains(github.event.head_commit.message, 'hermes/post')
28-
)
24+
# Only run on push events
25+
if: github.event_name == 'push'
2926

3027
permissions:
3128
contents: read
@@ -36,34 +33,35 @@ jobs:
3633
- uses: actions/setup-python@v6
3734
with:
3835
python-version: '3.12'
39-
- run: pip install hermes
40-
- run: pip install git+https://github.com/softwarepub/hermes-plugin-git
4136

42-
- run: hermes harvest
43-
- run: hermes process
37+
# For now, skip using hermes - we're just testing CI here
38+
#- run: pip install hermes
39+
#- run: pip install git+https://github.com/softwarepub/hermes-plugin-git
40+
#- run: hermes harvest
41+
#- run: hermes process
4442

4543
# This is where we will run the Software CaRD plugin (later)
4644
# - run: hermes curate
4745

4846
# Create a stub report
4947
- run: |
5048
mkdir -p .hermes/curate
51-
echo '{"test": "foobar"}' > .hermes/curate/report
49+
echo '{"test": "foobar"}' > ./.hermes/curate/report
5250
5351
# 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)
5452
- id: upload-report
5553
uses: actions/upload-artifact@v6
5654
with:
5755
name: softwarecard-report
58-
path: ./hermes/curation/*
56+
path: ./.hermes/curate/*
5957
if-no-files-found: 'error'
6058
retention-days: 90
6159
- run: 'echo Report artifact accessible at ${{ steps.upload-report.outputs.artifact-url }}'
6260

6361
- run: |
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
62+
echo 'This is a stub message for Software CaRD report.' | tee -a ./report.md
63+
echo 'Report artifact at ${{ steps.upload-report.outputs.artifact-url }}' | tee -a ./report.md
64+
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
6765
6866
# Now create an issue and add the Software CaRD report
6967
- name: Create Issue From File

0 commit comments

Comments
 (0)