Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Provide as a GitHub action #89

Closed
danielrbradley opened this issue Oct 31, 2024 · 1 comment
Closed

Provide as a GitHub action #89

danielrbradley opened this issue Oct 31, 2024 · 1 comment
Labels
duplicate This issue or pull request already exists

Comments

@danielrbradley
Copy link

The example from your own repo is a useful starting point: https://github.com/woodruffw/zizmor/blob/main/.github/workflows/zizmor.yml

However, for users who are only familiar with GitHub Actions and not with cargo, sarif or codeql, it might be nicer to abstract these away behind a github action.

This action could either be shipped within this same repo, or as a standalone repo. The usage could look something like:

      - name: Checkout repository
        uses: actions/checkout@v4
        with:
          persist-credentials: false
      - name: Run zizmor
        uses: woodruffw/zizmor@v1
        with:
          # Optional. Defaults to "^0.1.4"
          version: "^0.1.4"
          # Optional. Defaults to "." to auto-discover workflows in the current repo
          path: "."
@woodruffw
Copy link
Owner

Thanks for the request @danielrbradley! This dovetails closely with #69, so I'm going to consider this a dupe and fill out some more details there.

@woodruffw woodruffw added the duplicate This issue or pull request already exists label Oct 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate This issue or pull request already exists
Projects
None yet
Development

No branches or pull requests

2 participants