fix(ci): use github output for security.yml (#197)
This commit is contained in:
parent
24ccf44ce0
commit
c0b76ff3e1
9
.github/workflows/security.yml
vendored
9
.github/workflows/security.yml
vendored
@ -16,9 +16,10 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
name: Scan Production Site
|
name: Scan Production Site
|
||||||
steps:
|
steps:
|
||||||
- name: Set Date (NOW) as Env Var
|
- name: Set Date (NOW) as Variable
|
||||||
|
id: set-now
|
||||||
run: |
|
run: |
|
||||||
echo "::set-env name=NOW::$(date +'%Y-%m-%d')"
|
echo "NOW=$(date +'%Y-%m-%d')" >> "$GITHUB_OUTPUT"
|
||||||
|
|
||||||
- name: Checkout Main Branch for .zap/rules.tsv
|
- name: Checkout Main Branch for .zap/rules.tsv
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
@ -30,5 +31,5 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
target: 'https://chitchatter.im/'
|
target: 'https://chitchatter.im/'
|
||||||
rules_file_name: '.zap/rules.tsv'
|
rules_file_name: '.zap/rules.tsv'
|
||||||
issue_title: 'Security Report - ${{ env.NOW }}'
|
issue_title: 'Security Report - ${{ steps.set-now.outputs.NOW }}'
|
||||||
artifact_name: 'zap_scan_${{ env.NOW }}'
|
artifact_name: 'zap_scan_${{ steps.set-now.outputs.NOW }}'
|
||||||
|
Loading…
Reference in New Issue
Block a user