6
mirror of https://github.com/AllSpiceIO/cofactr-cogs.git synced 2025-04-21 16:13:21 +00:00
Compute cost of goods sold (COGS) using Cofactr.
Go to file
dependabot[bot] 44685f99db
Bump actions/setup-python from 4 to 5
Bumps [actions/setup-python](https://github.com/actions/setup-python) from 4 to 5.
- [Release notes](https://github.com/actions/setup-python/releases)
- [Commits](https://github.com/actions/setup-python/compare/v4...v5)

---
updated-dependencies:
- dependency-name: actions/setup-python
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-05-14 21:48:12 +00:00
.github Bump actions/setup-python from 4 to 5 2024-05-14 21:48:12 +00:00
.vscode Initial implementation 2024-05-08 14:25:28 -04:00
.gitignore Initial commit 2024-05-06 11:32:05 -04:00
action.yml Initial implementation 2024-05-08 14:25:28 -04:00
Dockerfile Initial implementation 2024-05-08 14:25:28 -04:00
entrypoint.py Change to an alternate way of passing type-checking 2024-05-14 16:00:50 -04:00
pyproject.toml Add pyproject.toml for ruff linting 2024-05-14 17:21:35 -04:00
README.md Change readme to lock the major version 2024-05-10 11:30:46 -04:00
requirements-test.txt Add CI checks 2024-05-14 17:21:35 -04:00
requirements.txt Add CI checks 2024-05-14 17:21:35 -04:00

Cofactr COGS

Generate cost of goods sold (COGS) using Cofactr.

Usage

Add the following step to your actions:

- name: Generate COGS using Cofactr
  uses: https://hub.allspice.io/Actions/cofactr-cogs@v1
  with:
    bom_file: bom.csv
    quantities: "1,10,100,1000"
    client_id: YOUR_COFACTR_CLIENT_ID
    api_key: ${{ secrets.COFACTR_API_KEY }}
    output_file: cogs.csv