feat!: add lockfile generation support #442
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This is a workflow for analyzing dependency lockfiles | |
# in this repository with Phylum during pull requests. | |
--- | |
name: Phylum_analyze | |
on: pull_request | |
jobs: | |
Analyze_PR_with_Phylum: | |
name: Analyze PR with phylum | |
permissions: # Ensure least privilege of actions | |
contents: read # For actions/checkout | |
pull-requests: write # For phylum-dev/phylum-analyze-pr-action | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout the repo | |
uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4.1.0 | |
with: | |
fetch-depth: 0 | |
- name: Analyze poetry.lock file | |
uses: phylum-dev/phylum-analyze-pr-action@53d203dd18c41350a673bcc236aa05337eb6edf3 # v2.1.1 | |
with: | |
phylum_token: ${{ secrets.PHYLUM_TOKEN }} | |
cmd: phylum-ci -vv |