All notable changes to this project will be documented in this file.
- GitHub Composite Action (
action.yml) for Feishu notifications - Action mode support in
runCli()to prevent action failures when notifications fail tsxas runtime dependency for direct TypeScript execution
- BREAKING: Converted from reusable workflow to composite action
- BREAKING: Updated usage syntax from
uses: ./.github/workflows/notify.yml@maintouses: HagiCode-org/haginotifier@v1 - Secrets are now passed via
env:instead ofsecrets:in workflow syntax - Outputs are accessed via
steps.<step-id>.outputs.*instead ofneeds.<job-id>.outputs.*
- Deprecated
.github/workflows/notify.ymlreusable workflow
If you were using the old reusable workflow syntax, update your workflows:
Old syntax:
jobs:
notify:
uses: HagiCode-org/haginotifier/.github/workflows/notify.yml@main
with:
message: 'Deployment successful!'
secrets:
FEISHU_WEBHOOK_URL: ${{ secrets.FEISHU_WEBHOOK_URL }}New syntax:
jobs:
notify:
runs-on: ubuntu-latest
steps:
- uses: HagiCode-org/haginotifier@v1
with:
message: 'Deployment successful!'
env:
FEISHU_WEBHOOK_URL: ${{ secrets.FEISHU_WEBHOOK_URL }}See README.md for more details and examples.