Skip to content

Commit

Permalink
fix: naming
Browse files Browse the repository at this point in the history
  • Loading branch information
laurentsenta committed Sep 18, 2023
1 parent 2b7284b commit d7638d4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions main.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ async function main() {
let runNumber = core.getInput("run_number")
let checkArtifacts = core.getBooleanInput("check_artifacts")
let searchArtifacts = core.getBooleanInput("search_artifacts")
let hasAllowForks = core.getInput("allow_forks") !== ""
let hasAllowForksInput = core.getInput("allow_forks") !== ""
let dryRun = core.getInput("dry_run")

const client = github.getOctokit(token)
Expand Down Expand Up @@ -107,7 +107,7 @@ async function main() {
let allowForks = !branch

// `allow_forks` overrides any other logic
if (hasAllowForks) {
if (hasAllowForksInput) {
allowForks = core.getBooleanInput("allow_forks")
}

Expand Down

0 comments on commit d7638d4

Please sign in to comment.