Skip to content

About

GitHub Action for pixi-policy: enforce dependency policy for pixi environments

Resources

Stars

0 stars

Watchers

0 watching

Forks

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Latest commit

 

History

1 Commit

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

Repository files navigation

pixi-policy action

A GitHub Action that checks a pixi workspace's pixi.toml and pixi.lock against its pixi-policy.toml: where packages may come from, banned packages and versions, licenses, and manifest and lockfile hygiene. It downloads the pixi-policy release binary for the runner, verifies its checksum, runs the check and fails the job on an error finding. pixi itself is not needed, though with pixi on PATH the lock.in-sync rule also runs.

permissions:
  contents: read
  security-events: write   # upload-sarif
steps:
  - uses: actions/checkout@v4
  - uses: aesir-oss/pixi-policy-action@v0
    with:
      upload-sarif: "true"

@v0 follows the newest 0.x.y release. Pin an exact release (@v0.2.0) or a commit sha for a build that never changes underneath you.

Every input and output, and more examples, are in the GitHub Action guide.

This repository is published from actions/pixi-policy in aesir-oss/pixi-policy on each release; issues and changes go there.

License

Apache-2.0

About

GitHub Action for pixi-policy: enforce dependency policy for pixi environments

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages