actions-util
v1.1.4
Published
π A util for Actions.
Downloads
9
Readme
Actions Util
π A util for Actions.
π Usage
const { checkPermission } = require('actions-util');
// or
import { checkPermission } from 'actions-util';
checkPermission(require, permission);
π Export
- checkPermission
1.0.0
- dealStringToArr
1.0.0
- THANKS
1.1.0
checkPermission
checkPermission(require, permission);
Input
| Params | Desc | Type | Required | Default | | -- | -- | -- | -- | -- | | require | Required permissions | string | β | - | | permission | Detector's permission | string | β | - |
Output
boolean
dealStringToArr
dealStringToArr(para);
Input
| Params | Desc | Type | Required | Default |
| -- | -- | -- | -- | -- |
| para | Action yml input like x1, x2, x3
| string | β | - |
Output
['x1', 'x2', 'x3']