-
Notifications
You must be signed in to change notification settings - Fork 2
51 lines (49 loc) · 1.51 KB
/
run_failed.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
40
41
42
43
44
45
46
47
48
49
50
51
name: Test run failed
run-name: ${{ inputs.preconfig }} ${{ inputs.data_source }} run failed on ${{ inputs.environment }}
on:
workflow_dispatch:
inputs:
ref:
description: 'branch, tag, or SHA'
type: string
required: true
owner:
description: 'owner on GitHub'
type: string
required: false
default: "FCP-INDI"
repo:
description: 'repository on GitHub'
type: string
required: false
default: "C-PAC"
environment:
description: 'Environment in which to run correlations'
type: environment
required: false
default: ACCESS
preconfig:
type: string
required: true
data_source:
type: string
required: true
jobs:
failure:
runs-on: ubuntu-latest
environment: ${{ inputs.environment}}
name: Update launch status
steps:
- name: Checkout code
uses: actions/[email protected]
- name: Finalize run check
uses: guibranco/[email protected]
with:
authToken: ${{ secrets.GH_PAT }}
context: lite run ${{ inputs.preconfig }} ${{ inputs.data_source }}
# description: |
owner: ${{ inputs.owner }}
repository: ${{ inputs.repo }}
sha: ${{ inputs.ref }}
state: failure
target_url: https://github.com/${{ inputs.owner }}/regtest-runlogs/tree/${{ inputs.repo}}_${{ inputs.ref }}/slurm-${{ inputs.preconfig }}-${{ inputs.data_source }}