Fix Linter Issues
This commit is contained in:
@@ -15,7 +15,7 @@ jobs:
|
||||
scan:
|
||||
permissions:
|
||||
security-events: write # Used to upload sarif artifact to GitHub
|
||||
contents: read # Used to checkout a private repository but actions/checkout.
|
||||
contents: read # Used to checkout a private repository by actions/checkout.
|
||||
actions: read # Required for private repositories to upload sarif files. GitHub Advanced Security licenses are required.
|
||||
id-token: write # Used for keyless authentication to Endor Labs
|
||||
runs-on: ubuntu-latest
|
||||
@@ -23,8 +23,8 @@ jobs:
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v3
|
||||
#### Package Build Instructions
|
||||
### Use this section to define the build steps used by your software package.
|
||||
### Endor Labs does this for you when possible.
|
||||
### Use this section to define the build steps used by your software package.
|
||||
### Endor Labs builds your software for you where possible but the required build tools must be made availible.
|
||||
# - name: Setup Java
|
||||
# uses: actions/setup-java@v3
|
||||
# with:
|
||||
@@ -36,13 +36,13 @@ jobs:
|
||||
if: github.event_name == 'pull_request'
|
||||
uses: endorlabs/github-action@b51bd06466b545f01a6ac788e3e1147695d3936c
|
||||
with:
|
||||
namespace: "example" # Modify the namespace to your Endor Labs tenant namespace.
|
||||
namespace: "example" # Modify the namespace to your Endor Labs tenant namespace.
|
||||
sarif_file: findings.sarif
|
||||
- name: Endor Labs scan monitor
|
||||
if: github.event_name == 'push'
|
||||
if: github.event_name == 'push'
|
||||
uses: endorlabs/github-action@b51bd06466b545f01a6ac788e3e1147695d3936c
|
||||
with:
|
||||
namespace: "example" # Modify the namespace to your Endor Labs tenant namespace.
|
||||
namespace: "example" # Modify the namespace to your Endor Labs tenant namespace.
|
||||
ci_run: "false"
|
||||
sarif_file: findings.sarif
|
||||
- name: Upload SARIF to github
|
||||
|
||||
Reference in New Issue
Block a user