File tree Expand file tree Collapse file tree 2 files changed +7
-1
lines changed Expand file tree Collapse file tree 2 files changed +7
-1
lines changed Original file line number Diff line number Diff line change 5454 required : false
5555 type : boolean
5656 default : false
57+ add-label :
58+ description : ' Add the CI-PENDING label to the PR'
59+ required : false
60+ type : boolean
61+ default : false
5762defaults :
5863 run :
5964 shell : bash
6974 - ' RelWithDebInfo'
7075 steps :
7176 - 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 }}
7378 uses : eProsima/eProsima-CI/external/add_labels@v0
7479 with :
7580 labels : ci-pending
Original file line number Diff line number Diff line change 6868 run-build : ${{ !(github.event_name == 'pull_request') || !contains(github.event.pull_request.labels.*.name, 'skip-ci') }}
6969 run-tests : ${{ (inputs.run-tests == true) || ((github.event_name == 'pull_request') && (!contains(github.event.pull_request.labels.*.name, 'no-test'))) }}
7070 use-ccache : ${{ (inputs.use-ccache == true) || false }}
71+ 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