Skip to content

Commit

Permalink
Add memory-limit option to php-security workflow (#66)
Browse files Browse the repository at this point in the history
* Add memory-limit option

* action released
  • Loading branch information
etremblay authored Mar 13, 2024
1 parent cfd5fac commit 8ee8ded
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/php-security.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@ name: PHP Security
on:
workflow_call:
inputs:
memory-limit:
description: Memory limit for psalm analysis
required: false
type: string
report-retention-days:
description: "Duration in days to preserve reports."
required: false
Expand Down Expand Up @@ -64,6 +68,7 @@ jobs:
- name: Taint analysis
uses: equisoft-actions/psalm-taint-analysis@v2
with:
memory-limit: ${{ inputs.memory-limit }}
working-directory: ${{ inputs.working-directory }}
report-retention-days: ${{ inputs.report-retention-days }}

Expand Down

0 comments on commit 8ee8ded

Please sign in to comment.