Skip to content

Commit

Permalink
a
Browse files Browse the repository at this point in the history
  • Loading branch information
kilianc committed May 15, 2024
1 parent a73c081 commit fc5e49b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,8 @@ runs:
script: |
const script = require(`${process.env.GITHUB_ACTION_PATH}/src/update-comment.js`)
const revision = '${{ github.event.pull_request.head.sha || github.sha }}'
const path = '${{ inputs.path }}'
const threshold = parseFloat('${{ inputs.threshold }}', 10)
const path = '${{ inputs.path }}'
await script({ context, github, path, revision, threshold })
- name: Check Coverage Threshold
Expand All @@ -66,4 +66,5 @@ runs:
const script = require(`${process.env.GITHUB_ACTION_PATH}/src/check-threshold.js`)
const revision = '${{ github.event.pull_request.head.sha || github.sha }}'
const threshold = parseFloat('${{ inputs.threshold }}', 10)
const path = '${{ inputs.path }}'
await script({ threshold, revision })

0 comments on commit fc5e49b

Please sign in to comment.