Skip to content

snyk/driftctl-action

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

Repository files navigation

This project is now in maintenance mode. We cannot promise to review contributions. Please feel free to fork the project to apply any changes you might want to make.

GitHub Action for driftctl

driftctl-action runs a full driftctl scan in your GitHub Actions workflow.

Inputs

version

The version of driftctl to install. Default to latest.

args

A single string containing any additional arguments or flags to supply to the scan command. Defaults to an empty string.

Example usage

name: Test Workflow

on: [push, pull_request]

jobs:
  test:
    runs-on: ubuntu-latest
    steps:
      - name: Checkout
        uses: actions/checkout@v2
      - name: Run driftctl
        uses: snyk/driftctl-action@v1
        with:
          version: 0.38.2

How to Contribute

Should you wish to make a contribution please open a pull request against this repository with a clear description of the change with tests demonstrating the functionality. You will also need to agree to the Contributor Agreement before the code can be accepted and merged.