Updated the names as per the pull request checklist.
This commit is contained in:
@@ -32,21 +32,23 @@ on:
|
|||||||
# Triggers the workflow on push or pull request events but only for the $default-branch branch
|
# Triggers the workflow on push or pull request events but only for the $default-branch branch
|
||||||
# Customize trigger events based on your DevSecOps processes.
|
# Customize trigger events based on your DevSecOps processes.
|
||||||
push:
|
push:
|
||||||
branches: [ $default-branch ]
|
branches: [ $default-branch, $protected-branches ]
|
||||||
pull_request:
|
pull_request:
|
||||||
branches: [ $default-branch ]
|
branches: [ $default-branch ]
|
||||||
|
schedule:
|
||||||
|
- cron: $cron-weekly
|
||||||
|
|
||||||
# Allows you to run this workflow manually from the Actions tab
|
# Allows you to run this workflow manually from the Actions tab
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
Trigger-APIsec-Scan:
|
Trigger APIsec scan:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: APIsec Scan
|
- name: APIsec scan
|
||||||
uses: apisec-inc/apisec-run-scan@master
|
uses: apisec-inc/apisec-run-scan@f62d0c6fae8a80f97b091a323befdb56e6ad9993
|
||||||
with:
|
with:
|
||||||
# The APIsec username with which the scans will be executed
|
# The APIsec username with which the scans will be executed
|
||||||
apisec-username: ${{ secrets.apisec_username }}
|
apisec-username: ${{ secrets.apisec_username }}
|
||||||
@@ -57,7 +59,7 @@ jobs:
|
|||||||
# The name of the sarif format result file The file is written only if this property is provided.
|
# The name of the sarif format result file The file is written only if this property is provided.
|
||||||
sarif-result-file: "apisec-results.sarif"
|
sarif-result-file: "apisec-results.sarif"
|
||||||
|
|
||||||
- name: Import Results
|
- name: Import results
|
||||||
uses: github/codeql-action/upload-sarif@v1
|
uses: github/codeql-action/upload-sarif@v1
|
||||||
with:
|
with:
|
||||||
sarif_file: ./apisec-results.sarif
|
sarif_file: ./apisec-results.sarif
|
||||||
Reference in New Issue
Block a user