This directory contains the automation scripts for updating the Gitspace catalog.
cmd/
: Contains Go scripts for the automation processdagger_pipeline.go
: Defines the Dagger pipelineupdate_catalog.go
: Updates the catalog TOML filecommit_and_push.go
: Commits and pushes changes to the repository
workflows/
: Contains GitHub Actions workflow filesupdate-catalog.yml
: Defines the workflow for updating the catalog
To update the automation process:
- Modify the Go scripts in the
cmd/
directory as needed - Update the
go.mod
file if new dependencies are added - Run
go mod tidy
in the.github
directory to updatego.sum
- Test your changes locally before committing
To run the Dagger pipeline locally:
cd .github
go run ./cmd/dagger_pipeline.go
Ensure you have the necessary environment variables set, particularly GITHUB_TOKEN
.