Skip to content

Commit

Permalink
Merge pull request #968 from IQTLabs/renovate/actions-github-script-7.x
Browse files Browse the repository at this point in the history
Update actions/github-script action to v7
  • Loading branch information
anarkiwi authored Nov 14, 2023
2 parents 6a6a548 + 6d8216a commit c0fdf5c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/secrets-scan.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
echo "::set-output name=found-count::$(wc -l /home/runner/reports/whispers.json | cut -d' ' -f1)"
- name: Fail if found
if: steps.scan.outputs.found-count != 0
uses: actions/github-script@v6
uses: actions/github-script@v7
with:
script: |
echo {{steps.scan.outputs.found-count}} && \
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/semgrep.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:
echo "::set-output name=found-count::$(cat /home/runner/reports/semgrep.out | jq '.results | length')"
- name: Fail if found
if: steps.d_scan.outputs.found-count != 0
uses: actions/github-script@v6
uses: actions/github-script@v7
with:
script: |
const fs = require('fs')
Expand Down Expand Up @@ -84,7 +84,7 @@ jobs:
echo "::set-output name=python-found-count::$(cat /home/runner/reports/semgrep.out | jq '.results | length')"
- name: Fail if found
if: steps.py_scan.outputs.python-found-count > 0
uses: actions/github-script@v6
uses: actions/github-script@v7
with:
github-token: ${{secrets.GITHUB_TOKEN}}
script: |
Expand Down

0 comments on commit c0fdf5c

Please sign in to comment.