generated from actions/typescript-action
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathaction.yml
19 lines (19 loc) · 813 Bytes
/
action.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# check doc on https://docs.github.com/en/actions/creating-actions/metadata-syntax-for-github-actions#runs
name: 'Skip CI'
description: 'Sets output param depending on commit message'
author: 'shiftcode GmbH <[email protected]>'
inputs:
skipOnCommitMsg:
description: 'defines an output variable depending if the commit message contains the skipOnCommitMsg string (output: true) or not (false).'
default: ''
required: true
githubToken:
description: 'github token necessary to fetch the commit message with sha of commit triggering this workflow'
default: ''
required: true
outputs:
shouldExecute:
description: 'boolean value. True if the commit message contains the string provided in skipOnCommitMsg input param, false otherwise.'
runs:
using: 'node20'
main: 'dist/index.js'