File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -12,20 +12,12 @@ jobs:
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 : false
1715 runs-on : ubuntu-latest
1816 steps :
1917 - name : Checkout Repository
2018 uses : actions/checkout@v3
2119 - name : Install pre-reqs
2220 run : pip install --user uv
23- - name : Generate requirements.txt
24- run : uv export --locked --no-editable --no-emit-local > requirements.txt
25- - name : Remove uv files which confuse Endor
26- run : rm uv.lock && rm pyproject.toml
27- - name : Install
28- run : pip install -r requirements.txt
2921 - name : Endor Labs Scan Pull Request
3022 if : github.event_name == 'pull_request'
3123 uses : endorlabs/github-action@v1.1.12 # Endor uses immutable releases so hash pinning not required
You can’t perform that action at this time.
0 commit comments