Skip to content

Commit

Permalink
update asserted string and sample event
Browse files Browse the repository at this point in the history
  • Loading branch information
joao-zanutto committed Jun 29, 2024
1 parent 3db7a03 commit 4dc4d55
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion dist/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/index.js.map

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions sample.event
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
"action": "workflow_dispatch",
"inputs": {
"environment": "dev",
"api": "True",
"worker1": "False",
"woker2": "True"
"api": "true",
"worker1": "false",
"woker2": "true"
}
}
2 changes: 1 addition & 1 deletion src/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ async function run() {
if (inputs.hasOwnProperty(key)) {

Check failure on line 26 in src/main.js

View workflow job for this annotation

GitHub Actions / Lint Codebase

Do not access Object.prototype method 'hasOwnProperty' from target object

Check failure on line 26 in src/main.js

View workflow job for this annotation

GitHub Actions / JavaScript Tests

Do not access Object.prototype method 'hasOwnProperty' from target object

Check failure on line 26 in src/main.js

View workflow job for this annotation

GitHub Actions / JavaScript Tests

Do not access Object.prototype method 'hasOwnProperty' from target object
value = inputs[key]

Check failure on line 27 in src/main.js

View workflow job for this annotation

GitHub Actions / Lint Codebase

'value' is not defined

Check failure on line 27 in src/main.js

View workflow job for this annotation

GitHub Actions / JavaScript Tests

'value' is not defined

Check failure on line 27 in src/main.js

View workflow job for this annotation

GitHub Actions / JavaScript Tests

'value' is not defined
// TODO: implement ignore list checking
if (value == 'True') {
if (value == 'true') {

Check failure on line 29 in src/main.js

View workflow job for this annotation

GitHub Actions / Lint Codebase

'value' is not defined

Check failure on line 29 in src/main.js

View workflow job for this annotation

GitHub Actions / Lint Codebase

Expected '===' and instead saw '=='

Check failure on line 29 in src/main.js

View workflow job for this annotation

GitHub Actions / JavaScript Tests

'value' is not defined

Check failure on line 29 in src/main.js

View workflow job for this annotation

GitHub Actions / JavaScript Tests

Expected '===' and instead saw '=='

Check failure on line 29 in src/main.js

View workflow job for this annotation

GitHub Actions / JavaScript Tests

'value' is not defined

Check failure on line 29 in src/main.js

View workflow job for this annotation

GitHub Actions / JavaScript Tests

Expected '===' and instead saw '=='
output += key
output += separator
}
Expand Down

0 comments on commit 4dc4d55

Please sign in to comment.