Skip to content

:octocat: Github action to detect any issues with your MANIFEST.in file used for distributing python packages

License

Notifications You must be signed in to change notification settings

tj-actions/check-manifest

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

Codacy Badge CI Update release version. Public workflows that use this action.

check-manifest

Run check-manifest to detect issues with distributed python packages.

...
    steps:
      - uses: actions/checkout@v2
      - name: check-manifest
        uses: tj-actions/check-manifest@v1

Inputs

INPUT TYPE REQUIRED DEFAULT DESCRIPTION
args string false "-v" Arguments passed to check-manifest
package-dir string false Directory of the package
version string true "0.46" Pinned version of check-manifest

Example

...
    steps:
      - name: Checkout
        uses: actions/checkout@v2
      - name: Set up Python 3
        uses: actions/setup-python@v2
        with:
          python-version: '3.x'
      - uses: actions/cache@v2
        id: pip-cache
        with:
          path: ~/.cache/pip
          key: ${{ runner.os }}-pip-
          restore-keys: |
            ${{ runner.os }}-pip-
      - name: Run check-manifest
        uses: tj-actions/check-manifest@v1
        with:
          package-dir: 'test_package'
          args: '-u'
      - name: Create Pull Request
        if: failure()
        uses: peter-evans/create-pull-request@v3
        with:
          base: "main"
          title: "Updated MANIFEST.in"
          branch: "chore/update-manifest-in"
          commit-message: "Updated MANIFEST.in"
          body: "Updated MANIFEST.in"
          token: ${{ secrets.github_token }}

If you feel generous and want to show some extra appreciation:

Buy me a coffee

Features

Credits

This package was created with Cookiecutter.

Report Bugs

Report bugs at https://github.com/tj-actions/check-manifest/issues.

If you are reporting a bug, please include:

  • Your operating system name and version.
  • Any details about your workflow that might be helpful in troubleshooting.
  • Detailed steps to reproduce the bug.