-
Notifications
You must be signed in to change notification settings - Fork 1
/
action.yml
39 lines (37 loc) · 914 Bytes
/
action.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
name: gha-ci-issues
description: Upload JUnit XML report to Mergify CI Issues
author: Mergify
branding:
icon: at-sign
color: blue
inputs:
token:
required: true
description: CI Issues Application Key
report_paths:
required: true
description: Paths of the files to upload
mergify_api_url:
required: false
description: URL of the Mergify API
default: https://api.mergify.com
runs:
using: composite
steps:
- name: Setup Python 🔧
uses: actions/[email protected]
with:
python-version: 3.12.7
- name: Install dependencies
shell: bash
run: |
pip install mergify-cli
- shell: bash
id: gigid
env:
MERGIFY_API_URL: ${{ inputs.mergify_api_url }}
MERGIFY_TOKEN: ${{ inputs.token }}
FILES: ${{ inputs.report_paths }}
run: |
set -x -e
mergify ci junit-upload "${FILES}"