https://github.com/charmbracelet/meta
Charm's meta configuration files 🫥
https://github.com/charmbracelet/meta
Last synced: about 1 month ago
JSON representation
Charm's meta configuration files 🫥
- Host: GitHub
- URL: https://github.com/charmbracelet/meta
- Owner: charmbracelet
- License: mit
- Created: 2022-01-14T11:19:31.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2025-09-05T13:41:51.000Z (about 1 month ago)
- Last Synced: 2025-09-05T15:36:49.247Z (about 1 month ago)
- Language: Shell
- Homepage:
- Size: 407 KB
- Stars: 40
- Watchers: 3
- Forks: 11
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Codeowners: .github/CODEOWNERS
Awesome Lists containing this project
README
# meta
This repo contains Charm’s meta configuration files:
- GoReleaser configurations
- GitHub Actions workflows## Related docs
- [GitHub: Reusing Workflows](https://docs.github.com/en/actions/learn-github-actions/reusing-workflows)
- [GoReleaser: includes](https://goreleaser.com/customization/includes/)## Usage
### GoReleaser release
```yaml
# .goreleaser.yml
includes:
- from_url:
url: charmbracelet/meta/main/goreleaser.yamlvariables:
main: ""
binary_name: ""
description: ""
github_url: ""
maintainer: ""
homepage: "https://charm.land/"
brew_commit_author_name: ""
brew_commit_author_email: ""
brew_owner: charmbracelet
docker_io_registry_owner: charmcli
ghcr_io_registry_owner: charmbracelet
```> You can override the variables you need
```yaml
# .github/workflows/goreleaser.yml
name: goreleaseron:
push:
tags:
- v*.*.*concurrency:
group: goreleaser
cancel-in-progress: truejobs:
goreleaser:
uses: charmbracelet/meta/.github/workflows/goreleaser.yml@main
secrets:
docker_username: ${{ secrets.DOCKERHUB_USERNAME }}
docker_token: ${{ secrets.DOCKERHUB_TOKEN }}
gh_pat: ${{ secrets.PERSONAL_ACCESS_TOKEN }}
goreleaser_key: ${{ secrets.GORELEASER_KEY }
```You'll need to set the secrets used.
### GoReleaser snapshot
```yaml
# .github/workflows/snapshot.yml
name: snapshoton: [push, pull_request]
jobs:
snapshot:
uses: charmbracelet/meta/.github/workflows/snapshot.yml@main
secrets:
goreleaser_key: ${{ secrets.GORELEASER_KEY }}
```### GoReleaser nightly
```yaml
# .github/workflows/nightly.yml
name: nightlyon: push
jobs:
nightly:
uses: charmbracelet/meta/.github/workflows/nightly.yml@main
secrets:
docker_username: ${{ secrets.DOCKERHUB_USERNAME }}
docker_token: ${{ secrets.DOCKER_PASSWORD }}
goreleaser_key: ${{ secrets.GORELEASER_KEY }}
``````yaml
# .github/workflows/pr-comment.yml
name: pr-commenton:
workflow_run:
workflows: [build]
types: [completed]jobs:
pr-comment:
uses: charmbracelet/meta/.github/workflows/pr-comment.yml@main
```---
Part of [Charm](https://charm.land).
Charm热爱开源 • Charm loves open source