File tree 2 files changed +7
-1
lines changed
2 files changed +7
-1
lines changed Original file line number Diff line number Diff line change 54
54
required : false
55
55
type : boolean
56
56
default : false
57
+ add-label :
58
+ description : ' Add the CI-PENDING label to the PR'
59
+ required : false
60
+ type : boolean
61
+ default : false
57
62
defaults :
58
63
run :
59
64
shell : bash
69
74
- ' RelWithDebInfo'
70
75
steps :
71
76
- name : Add ci-pending label if PR
72
- if : ${{ github.event_name == 'pull_request' }}
77
+ if : ${{ github.event_name == 'pull_request' && inputs.add-label == true }}
73
78
uses : eProsima/eProsima-CI/external/add_labels@v0
74
79
with :
75
80
labels : ci-pending
Original file line number Diff line number Diff line change 75
75
run-build : ${{ !(github.event_name == 'pull_request') || !contains(github.event.pull_request.labels.*.name, 'skip-ci') }}
76
76
run-tests : ${{ (inputs.run-tests == true) || ((github.event_name == 'pull_request') && (!contains(github.event.pull_request.labels.*.name, 'no-test'))) }}
77
77
use-ccache : ${{ (inputs.use-ccache == true) || false }}
78
+ add-label : ${{ (github.event_name == 'pull_request') && (github.event.pull_request.head.repo.full_name == github.repository) && true || false }}
You can’t perform that action at this time.
0 commit comments