-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathaction.yml
More file actions
31 lines (27 loc) · 777 Bytes
/
action.yml
File metadata and controls
31 lines (27 loc) · 777 Bytes
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
name: 'Workflow Toggle'
description: 'GitHub Action to Enable/Disable GitHub Actions Workflows'
author: 'StephenMP'
branding:
color: purple
icon: toggle-left
inputs:
# Required
token:
required: true
description: 'A GitHub access token with the "workflow" scope'
workflow_id:
required: true
description: 'The workflow file name or the workflow ID'
action:
required: true
description: 'Either "enable" or "disable" to enable/disable the workflow'
# Optional
owner:
required: false
description: 'The repo owner (defaults to owner of the running action)'
repo:
required: false
description: 'The repo with the workflow to disable (defaults to repo of the running action)'
runs:
using: 'node16'
main: 'dist/index.js'