Skip to content

Commit

Permalink
Add ignoreIDs to action.yml & split string
Browse files Browse the repository at this point in the history
  • Loading branch information
cameron-dunn-sublime committed Dec 28, 2023
1 parent 0036346 commit 3721f3a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ inputs:
description: 'The number of seconds to wait for the check to complete.'
intervalSeconds:
description: 'The number of seconds to wait before each poll of the GitHub API.'
ignoreIDs:
description: 'Check IDs to ignore.'
runs:
using: 'node16'
main: 'dist/index.js'
2 changes: 1 addition & 1 deletion src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ async function run(): Promise<void> {
owner: core.getInput('owner') || context.repo.owner,
repo: core.getInput('repo') || context.repo.repo,
ref: core.getInput('ref') || context.sha,
ignoreIDs: core.getInput('ignoreIDs'),
ignoreIDs: (core.getInput('ignoreIDs') || "").split(",").map((s) => s.trim()),

timeoutSeconds: parseInt(core.getInput('timeoutSeconds') || '600'),
intervalSeconds: parseInt(core.getInput('intervalSeconds') || '10')
Expand Down

0 comments on commit 3721f3a

Please sign in to comment.