File tree Expand file tree Collapse file tree 1 file changed +39
-0
lines changed
Expand file tree Collapse file tree 1 file changed +39
-0
lines changed Original file line number Diff line number Diff line change 1+ ---
2+ name : Clean PR builds
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+
12+ # Warning: GitHub limits the total number of inputs to 10, so a maximum of
13+ # 9 checks is allowed here!
14+ # Warning: the check_* keys are magic and must consist of the string
15+ # "check_" followed by the applicable check name exactly. The
16+ # "description" field is only the human-readable label for the input.
17+ ' check_build/O2DPG/sim/o2 ' :
18+ description : build/O2DPG/sim/o2
19+ type : boolean
20+ default : true
21+ ' check_build/O2DPG/O2fst/o2 ' :
22+ description : build/O2DPG/O2fst/o2
23+ type : boolean
24+ default : true
25+
26+ permissions : {}
27+
28+ jobs :
29+ clean :
30+ name : Clean PR checks
31+ uses : alisw/ali-bot/.github/workflows/clean-pr-checks.yml@master
32+ with :
33+ owner : ${{ github.event.repository.owner.login }}
34+ repo : ${{ github.event.repository.name }}
35+ pr : ${{ github.event.inputs.pr }}
36+ checks : ${{ toJSON(github.event.inputs) }}
37+ permissions :
38+ pull-requests : read # to get last commit for pr (octokit/graphql-action)
39+ statuses : write # for set-github-status
You can’t perform that action at this time.
0 commit comments