https://github.com/gumball12/yuki-no-plugin-test
A test plugin for yuki-no that demonstrates all lifecycle hooks.
https://github.com/gumball12/yuki-no-plugin-test
actions docs github-action plugins translation yuki-no
Last synced: 2 months ago
JSON representation
A test plugin for yuki-no that demonstrates all lifecycle hooks.
- Host: GitHub
- URL: https://github.com/gumball12/yuki-no-plugin-test
- Owner: Gumball12
- Created: 2025-06-27T05:17:32.000Z (12 months ago)
- Default Branch: main
- Last Pushed: 2025-07-27T16:19:56.000Z (11 months ago)
- Last Synced: 2025-10-13T13:50:01.298Z (8 months ago)
- Topics: actions, docs, github-action, plugins, translation, yuki-no
- Language: TypeScript
- Homepage: https://github.com/Gumball12/yuki-no/blob/main/docs/PLUGINS.md
- Size: 60.5 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# @gumball12/yuki-no-plugin-test
A test plugin for [yuki-no](https://github.com/Gumball12/yuki-no) that demonstrates all lifecycle hooks.
## Installation
If you're using this as a Yuki-no plugin, you can use it without installation. For more details, please refer to the [Yuki-no Using Plugins documentation](https://github.com/Gumball12/yuki-no/blob/main/docs/PLUGINS.md#using-plugins).
## Usage
Add the plugin to your yuki-no workflow:
```yaml
- uses: Gumball12/yuki-no@v1
env:
# Optional: Custom plugin message
YUKI_NO_TEST_MESSAGE: 'Translated by our team'
YUKI_NO_TEST_DEBUG_MODE: true
YUKI_NO_TEST_MULTILINE_VALUE: |
value 1
value 2
value 3
with:
access-token: ${{ secrets.GITHUB_TOKEN }}
head-repo: https://github.com/source/repository.git
track-from: commit-hash
plugins: |
@gumball12/yuki-no-plugin-test@0.0.6
```
## What it does
- **Logs** all lifecycle events with clear messages
- **Enhances** created issues with commit metadata
- **Supports** custom message input for personalization
- **Demonstrates** proper plugin development patterns
## Example Output
```
[yuki-no-test-plugin] 🚀 Plugin initialized
[yuki-no-test-plugin] 🔍 Starting comparison process
[yuki-no-test-plugin] ✅ Found 2 commits to process
[yuki-no-test-plugin] Commit 1: abc123d - Add documentation
[yuki-no-test-plugin] 📝 Creating issue for commit: abc123d
[yuki-no-test-plugin] 🎉 Issue #42 created
[yuki-no-test-plugin] ✅ Enhancement comment added
[yuki-no-test-plugin] 🏁 Process completed successfully
```
You can see these logs in your GitHub Actions workflow run logs.
## Related Links
- [yuki-no GitHub Action](https://github.com/Gumball12/yuki-no)
- [Plugin Development Guide](https://github.com/Gumball12/yuki-no/blob/main/docs/PLUGINS.md)