Skip to content

Commit f594451

Browse files
committed
Envar
1 parent badf31a commit f594451

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

.github/workflows/endor.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@ 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: true
1517
runs-on: ubuntu-latest
1618
steps:
1719
- name: Checkout Repository
@@ -22,7 +24,7 @@ jobs:
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
@@ -33,7 +35,7 @@ jobs:
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

0 commit comments

Comments
 (0)