Skip to content
This repository was archived by the owner on Aug 2, 2024. It is now read-only.

Commit 71486df

Browse files
authored
Document escape behavior (#25)
1 parent 53e3ecc commit 71486df

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

sample_workflow.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,14 @@ jobs:
1010
with:
1111
# You will need to specify a regular expression in the syntax here:
1212
# https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/RegExp
13-
#
1413
# This is a string pattern, not a RegExp literal.
14+
1515
# GitHub does not support an array or list as inputs to actions, so
1616
# for multiple paths, either use the | (pipe) character, or specify
17-
# a JSON array of regular expressions:
17+
# a JSON array of regular expressions. You must double-escape characters
18+
# if you use a JSON array.
1819
# '(dist/(.*)\.js)|(\.editorconfig)'
19-
# '["dist/(.*)\.js","\.editorconfig"]'
20+
# '[ "dist/(.*)\\.js", "\\.editorconfig" ]'
2021
exclude-regex: '<your RegExp here>'
2122
repo-token: ${{ secrets.GITHUB_TOKEN }}
2223
message: |

0 commit comments

Comments
 (0)