-
Notifications
You must be signed in to change notification settings - Fork 1
/
action.yml
41 lines (37 loc) · 1.09 KB
/
action.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
name: 'remove_labels'
description: 'https://github.com/actions-ecosystem/action-remove-labels'
inputs:
github_token:
description: 'A GitHub token'
required: false
default: ${{ github.token }}
labels:
description: >
The labels' name to be removed. Must be separated with line breaks if there're multiple labels.
required: true
number:
description: >
The number of the issue or pull request.
required: false
default: ${{ github.event.pull_request.number }}
repo:
description: >
The owner and repository name (e.g. eProsima/Fast-DDS)
required: false
default: ''
fail_on_error:
description: >
Whether the action fails or not when getting errors. [true,false]
required: false
default: 'false'
runs:
using: composite
steps:
- name: Checkout repository
uses: actions-ecosystem/action-remove-labels@v1
with:
github_token: ${{ inputs.github_token }}
labels: ${{ inputs.labels }}
number: ${{ inputs.number }}
repo: ${{ inputs.repo }}
fail_on_error: ${{ inputs.fail_on_error }}