File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ ---
2+ name : Clean PR checks
3+
4+ ' on ' :
5+ workflow_dispatch :
6+ inputs :
7+ pr :
8+ description : PR number in this repo to be cleaned
9+ type : string # can't use number here
10+ required : true
11+ message :
12+ description : Human-readable message displayed on the new pending status
13+ type : string
14+ required : false
15+ default : ' '
16+
17+ # Warning: GitHub limits the total number of inputs to 10, so a maximum of
18+ # 8 checks is allowed here!
19+ # Warning: the check_* keys are magic and must consist of the string
20+ # "check_" followed by the applicable check name exactly. The
21+ # "description" field is only the human-readable label for the input.
22+ ' check_build/O2Physics/o2/macOS-arm ' :
23+ description : build/O2Physics/o2/macOS-arm
24+ type : boolean
25+ default : true
26+
27+ ' check_build/O2Physics/o2 ' :
28+ description : build/O2Physics/o2
29+ type : boolean
30+ default : true
31+
32+ permissions : {}
33+
34+ jobs :
35+ clean :
36+ name : Clean PR checks
37+ uses : alisw/ali-bot/.github/workflows/clean-pr-checks.yml@master
38+ with :
39+ owner : ${{ github.event.repository.owner.login }}
40+ repo : ${{ github.event.repository.name }}
41+ pr : ${{ github.event.inputs.pr }}
42+ message : ${{ github.event.inputs.message }}
43+ checks : ${{ toJSON(github.event.inputs) }}
44+ permissions :
45+ pull-requests : read # to get last commit for pr (octokit/graphql-action)
46+ statuses : write # for set-github-status
You can’t perform that action at this time.
0 commit comments