https://github.com/7codewizard/diff-patch
https://github.com/7codewizard/diff-patch
Last synced: 6 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/7codewizard/diff-patch
- Owner: 7CodeWizard
- License: mit
- Created: 2024-08-06T15:08:20.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-08-06T15:13:36.000Z (over 1 year ago)
- Last Synced: 2025-02-08T15:35:33.340Z (12 months ago)
- Language: TypeScript
- Size: 330 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Codeowners: .github/CODEOWNERS
Awesome Lists containing this project
README
# codelyze/action
[](https://github.com/super-linter/super-linter)

[](https://github.com/actions/typescript-action/actions/workflows/check-dist.yml)
[](https://github.com/actions/typescript-action/actions/workflows/codeql-analysis.yml)

A GitHub action to upload coverage to codelyze.com.
## Usage
```yml
- name: Upload coverage
uses: codelyze/action@2.1.0
with:
token: ${{ secrets.CODELYZE_TOKEN }}
path: coverage/lcov.info
```
### Permission
The following workflow permissions are necessary:
```yml
permissions:
contents: read
statuses: write
```
### Inputs
`codelyze/action` uses the following inputs:
| Name | Description | Required | Default |
| ---------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -------- | -------------- |
| `gh-token` | `GITHUB_TOKEN` (permissions `contents: write` and `pull-requests: write`) or a `repo` scoped [Personal Access Token (PAT)](https://docs.github.com/en/github/authenticating-to-github/creating-a-personal-access-token). | no | `GITHUB_TOKEN` |
| `token` | Coverage upload token generated when project is created on codelyze.com | yes | |
| `path` | Relative path to the coverage file | yes | |
### Outputs
`codelyze/action` has the following outputs:
| Name | Description |
| ------------ | ------------------------- |
| `percentage` | Total percentage coverage |