File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1212 id-token : write # Used for keyless authentication with Endor Labs
1313 issues : write # Required to automatically comment on PRs for new policy violations
1414 pull-requests : write # Required to automatically comment on PRs for new policy violations
15+ env :
16+ ENDOR_SCAN_ENABLE_UV_PACKAGE_MANAGER : true
1517 runs-on : ubuntu-latest
1618 steps :
1719 - name : Checkout Repository
2224 run : uv sync --locked --no-dev --no-editable
2325 - name : Endor Labs Scan Pull Request
2426 if : github.event_name == 'pull_request'
25- uses : endorlabs/github-action@v1.1.12
27+ uses : endorlabs/github-action@v1.1.12 # Endor uses immutable releases so hash pinning not required
2628 with :
2729 namespace : " jellyfish" # Replace with your Endor Labs tenant namespace
2830 scan_dependencies : true
3335 additional_args : " --exit-on-policy-warning"
3436 - name : Endor Labs Scan Push to main
3537 if : ${{ github.event_name == 'push' || github.event_name == 'workflow_dispatch' }}
36- uses : endorlabs/github-action@v1.1.12
38+ uses : endorlabs/github-action@v1.1.12 # Endor uses immutable releases so hash pinning not required
3739 with :
3840 namespace : " jellyfish" # Replace with your Endor Labs tenant namespace
3941 scan_dependencies : true
You can’t perform that action at this time.
0 commit comments