Skip to content

Commit

Permalink
fix: report path supports only one path and leverage glob (#25)
Browse files Browse the repository at this point in the history
Removes the s which is misleading and make sure it works with glob
patterns.
  • Loading branch information
jd authored Feb 12, 2025
1 parent 81c6a15 commit 2be9bdf
Showing 2 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
@@ -55,7 +55,7 @@ jobs:
uses: ./
with:
token: fake-valid-token
report_paths: zfixtures/junit_example.xml
report_path: zfixtures/*.xml
mergify_api_url: http://localhost:1080

- name: Get job ID
@@ -83,7 +83,7 @@ jobs:
uses: ./
with:
token: fake-valid-token
report_paths: zfixtures/junit_example.xml
report_path: zfixtures/junit_example.xml
mergify_api_url: http://localhost:1085

- name: Dump mockserver logs
8 changes: 4 additions & 4 deletions action.yml
Original file line number Diff line number Diff line change
@@ -8,9 +8,9 @@ inputs:
token:
required: true
description: Mergify CI token
report_paths:
report_path:
required: true
description: Paths of the files to upload
description: Path of the files to upload
mergify_api_url:
required: false
description: URL of the Mergify API
@@ -33,7 +33,7 @@ runs:
env:
MERGIFY_API_URL: ${{ inputs.mergify_api_url }}
MERGIFY_TOKEN: ${{ inputs.token }}
FILES: ${{ inputs.report_paths }}
FILES: ${{ inputs.report_path }}
run: |
set -x -e
mergify ci junit-upload "${FILES}"
mergify ci junit-upload ${FILES}

0 comments on commit 2be9bdf

Please sign in to comment.