List all tracked GitHub Actions.
dotgithub listThe list command displays all GitHub Actions that are currently tracked in your dotgithub.json configuration file. This is useful for getting an overview of your project's dependencies and verifying which actions have been added.
dotgithub listOutput example:
Found 3 tracked actions:
📦 actions/checkout
Function Name: checkout()
Version: v4
SHA: 0057852b
Output Path: /path/to/project/src/actions/actions/checkout.ts
📦 actions/setup-node
Function Name: setupNode()
Version: v4
SHA: 2028fbc5
Output Path: /path/to/project/src/actions/actions/setup-node.ts
📦 actions/setup-python
Function Name: setupPython()
Version: v6
SHA: e797f83b
Output Path: /path/to/project/src/actions/actions/setup-python.ts
For each tracked action, the command displays:
- Repository - The GitHub repository (org/repo format)
- Function Name - The generated TypeScript function name
- Version - The version reference (tag or branch)
- SHA - The resolved commit SHA (first 8 characters)
- Output Path - The generated TypeScript file location
Use this command to:
- Audit dependencies - See all actions your project uses
- Verify additions - Confirm actions were added correctly
- Debug issues - Check if actions are properly tracked
- Documentation - Generate lists for project documentation
- Migration - Review actions when upgrading DotGitHub
- dotgithub add - Add new actions to tracking
- dotgithub remove - Remove actions from tracking
- dotgithub update - Update action versions
- dotgithub config list - Alternative listing with JSON output
The command will fail if:
- No
dotgithub.jsonconfiguration file exists - Configuration file is invalid or corrupted
- Actions array is missing from configuration
If no actions are tracked, the command displays:
No actions are currently tracked.
This typically means you need to run dotgithub add to add your first actions.
- dotgithub add - Add GitHub Actions to your project
- dotgithub remove - Remove actions from tracking
- dotgithub update - Update action versions
- Configuration Guide - Understanding dotgithub.json