Skip to content

Commit

Permalink
fix: input style (#45)
Browse files Browse the repository at this point in the history
  • Loading branch information
sqin2019 authored Jun 20, 2023
1 parent cb635fd commit 4c2fed6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/expire.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:
description: 'The owner and repository name. For example, Codertocat/Hello-World'
type: 'string'
required: true
expiryHours:
expiry_hours:
description: 'The number of hours to keep an AOD PR open since last updated.'
type: 'number'
default: 24
Expand All @@ -31,7 +31,7 @@ jobs:
}
const repoOwner = parts[0]
const repoName = parts[1]
const cutoffMs = ${{ inputs.expiryHours }} * 60 * 60 * 1000
const cutoffMs = ${{ inputs.expiry_hours }} * 60 * 60 * 1000
const now = new Date();
const pulls = await github.rest.pulls.list({
owner: repoOwner,
Expand Down

0 comments on commit 4c2fed6

Please sign in to comment.