Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
104 changes: 53 additions & 51 deletions .github/workflows/update-marketplace-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,75 +20,77 @@ jobs:
shell: bash
run: |
cat > release-notes.md <<'EOF'
# Code Life Balance v1.2.0
# Code Life Balance v1.2.0

Code Life Balance is a privacy-first GitHub Action for generating activity, coding-rhythm, and code-life balance reports directly inside your own GitHub Actions runner.
Code Life Balance is a privacy-first GitHub Action for generating activity, coding-rhythm, and code-life balance reports directly inside your own GitHub Actions runner.

Your GitHub token and private activity do not need to be sent to a Code Life Balance backend.
Your GitHub token and private activity do not need to be sent to a Code Life Balance backend.

## Marketplace highlights
## Marketplace highlights

- Runs entirely inside GitHub Actions
- No Code Life Balance account required
- No Code Life Balance API required
- Public GitHub activity analysis
- Optional private repository analysis with your own fine-grained GitHub token
- Timezone-aware commit timing
- Configurable workday hours
- Code-life balance score
- Weekend, after-hours, and late-night activity metrics
- Current and longest streaks
- Language and repository statistics
- Dark and light report themes
- Detailed and compact SVG cards
- Runs entirely inside GitHub Actions
- No Code Life Balance account required
- No Code Life Balance API required
- Public GitHub activity analysis
- Optional private repository analysis with your own fine-grained GitHub token
- Timezone-aware commit timing
- Configurable workday hours
- Code-life balance score
- Weekend, after-hours, and late-night activity metrics
- Current and longest streaks
- Language and repository statistics
- Dark and light report themes
- Detailed and compact SVG cards

## Generated outputs
## Generated outputs

- `code-life.svg` for GitHub profiles and READMEs
- `stats.json` for integrations and custom dashboards
- `report.md` for human-readable reports
- `code-life.svg` for GitHub profiles and READMEs
- `stats.json` for integrations and custom dashboards
- `report.md` for human-readable reports

## Basic usage
## Basic usage

```yaml
- uses: alihd-tech/CodeLifeBalance@v1
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
username: ${{ github.repository_owner }}
timezone: UTC
formats: svg,json,markdown
commit: "false"
```
```yaml
- uses: alihd-tech/CodeLifeBalance@v1
with:
github-token: __DOLLAR__{{ secrets.GITHUB_TOKEN }}
username: __DOLLAR__{{ github.repository_owner }}
timezone: UTC
formats: svg,json,markdown
commit: "false"
```

## Private repository mode
## Private repository mode

Private analysis is optional. Store your own fine-grained GitHub token in a repository secret such as `CODE_LIFE_TOKEN`, then use:
Private analysis is optional. Store your own fine-grained GitHub token in a repository secret such as `CODE_LIFE_TOKEN`, then use:

```yaml
- uses: alihd-tech/CodeLifeBalance@v1
with:
github-token: ${{ secrets.CODE_LIFE_TOKEN }}
include-private: "true"
```
```yaml
- uses: alihd-tech/CodeLifeBalance@v1
with:
github-token: __DOLLAR__{{ secrets.CODE_LIFE_TOKEN }}
include-private: "true"
```

The token remains inside your GitHub Actions environment and is used directly against the GitHub API.
The token remains inside your GitHub Actions environment and is used directly against the GitHub API.

## Stable release alias
## Stable release alias

Use `alihd-tech/CodeLifeBalance@v1` for the current compatible v1 release. The exact immutable release is `v1.2.0`.
Use `alihd-tech/CodeLifeBalance@v1` for the current compatible v1 release. The exact immutable release is `v1.2.0`.

## Also included
## Also included

- Local CLI distribution
- Browser-based workflow configurator
- Public username viewer
- Optional GitHub App foundation
- CI, typecheck, build, and published Action smoke tests
- Local CLI distribution
- Browser-based workflow configurator
- Public username viewer
- Optional GitHub App foundation
- CI, typecheck, build, and published Action smoke tests

## License
## License

MIT
EOF
MIT
EOF

sed -i 's/__DOLLAR__/$/g' release-notes.md

gh release edit v1.2.0 \
--repo "$GITHUB_REPOSITORY" \
Expand Down
Loading