{"id":21412911,"url":"https://github.com/hunghg255/action-notifications","last_synced_at":"2025-07-14T02:32:40.733Z","repository":{"id":192840212,"uuid":"687519585","full_name":"hunghg255/action-notifications","owner":"hunghg255","description":"Github Action Notification for Discord, Slack, Telegram, Google Chat, Microsoft Teams. Support show QR code","archived":false,"fork":false,"pushed_at":"2024-04-02T20:38:06.000Z","size":1157,"stargazers_count":23,"open_issues_count":0,"forks_count":4,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-06-30T20:45:35.911Z","etag":null,"topics":["actions","ci","discord","github","github-actions","google-chat","microsoft-teams","notifications","qrcode","slack","telegram-bot","webhook"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/hunghg255.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-09-05T14:18:52.000Z","updated_at":"2025-01-01T09:49:40.000Z","dependencies_parsed_at":null,"dependency_job_id":"58afeb15-22ca-4665-a548-c2202c04628f","html_url":"https://github.com/hunghg255/action-notifications","commit_stats":null,"previous_names":["hunghg255/action-notifications"],"tags_count":16,"template":false,"template_full_name":null,"purl":"pkg:github/hunghg255/action-notifications","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hunghg255%2Faction-notifications","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hunghg255%2Faction-notifications/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hunghg255%2Faction-notifications/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hunghg255%2Faction-notifications/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hunghg255","download_url":"https://codeload.github.com/hunghg255/action-notifications/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hunghg255%2Faction-notifications/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265233753,"owners_count":23731825,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["actions","ci","discord","github","github-actions","google-chat","microsoft-teams","notifications","qrcode","slack","telegram-bot","webhook"],"created_at":"2024-11-22T18:16:09.753Z","updated_at":"2025-07-14T02:32:40.412Z","avatar_url":"https://github.com/hunghg255.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n\u003ca href=\"https://www.npmjs.com/package/action-notifications\" target=\"_blank\" rel=\"noopener noreferrer\"\u003e\n\u003cimg src=\"https://api.iconify.design/simple-icons:githubactions.svg?color=%23cefdb4\" alt=\"logo\" width='100'/\u003e\u003c/a\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n  A Github actions notification to Discord, Slack, Telegram, Google chat, Microsoft Teams, Support show QR code\n\u003c/p\u003e\n\n\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://github.com/hunghg255/action-notifications/graphs/contributors\" target=\"_blank\" rel=\"noopener noreferrer\"\u003e\u003cimg src=\"https://img.shields.io/badge/all_contributors-1-orange.svg\" alt=\"Contributors\" /\u003e\u003c/a\u003e\n  \u003ca href=\"https://github.com/hunghg255/action-notifications/blob/main/LICENSE\" target=\"_blank\" rel=\"noopener noreferrer\"\u003e\u003cimg src=\"https://badgen.net/github/license/hunghg255/action-notifications\" alt=\"License\" /\u003e\u003c/a\u003e\n\u003c/p\u003e\n\n## Usage\n\n```yaml\nuses: hunghg255/action-notifications@master\nwith:\n  discord_webhook: ${{ secrets.DISCORD_WEBHOOK }}\n  slack_webhook: ${{ secrets.SLACK_WEBHOOK }}\n  telegram_bot_token: ${{ secrets.TELEGRAM_BOT_TOKEN }}\n  telegram_chat_id: ${{ secrets.TELEGRAM_CHAT_ID }}\n  # telegram_message_thread_id: ${{ secrets.TELEGRAM_MESSAGE_THREAD_ID }}\n  google_chat_webhook: ${{ secrets.GOOGLE_CHAT_WEBHOOK }}\n  ms_teams_webhook: ${{ secrets.MS_TEAMS_WEBHOOK }}\n  title: \"Deploy to Dev\"\n  description: \"Test here: https://hung.thedev.id\"\n```\n\n## Inputs\n| Properties                   | Description                       |                              |\n| ---------------------------- | --------------------------------- | :--------------------------- |\n| discord\\_webhook             | Discord Webhook                   |                              |\n| slack\\_webhook               | Slack Webhook                     |                              |\n| slack\\_username              | Slack Username                    |                              |\n| telegram\\_bot\\_token         | Telegram Bot Token                | Require `telegram_chat_id`   |\n| telegram\\_chat\\_id           | Telegram Chat ID                  | Require `telegram_bot_token` |\n| telegram\\_message\\_thread_id | Telegram Thread Message For Topic |                              |\n| google\\_chat\\_webhook        | Google Chat Webhook               |                              |\n| ms\\_teams\\_webhook           | Microsoft Teams Webhook           |                              |\n| title                        | Title                             |                              |\n| description                  | Description                       |                              |\n| qrcode                       | Text                              |                              |\n\n- Config telegram bot, get chat id: [CONFIG_TELEGRAM_BOT](https://github.com/hunghg255/action-notifications/blob/master/CONFIG_TELEGRAM_BOT.md)\n\n## Example\n```yaml\nname: Notification\n\non:\n  push:\n    branches:\n      - nofication\n\njobs:\n  deploy:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v3\n\n      - name: Build and lint\n        run: |\n          echo \"Build and lint\"\n\n      - name: Notification Failure\n        if: failure()\n        uses: hunghg255/action-notifications@master\n        with:\n          discord_webhook: ${{ secrets.DISCORD_WEBHOOK }}\n          slack_webhook: ${{ secrets.SLACK_WEBHOOK }}\n          telegram_bot_token: ${{ secrets.TELEGRAM_BOT_TOKEN }}\n          telegram_chat_id: ${{ secrets.TELEGRAM_CHAT_ID }}\n          # Remove comment below for Telegram Topic Message\n          # telegram_message_thread_id: ${{ secrets.TELEGRAM_MESSAGE_THREAD_ID }}\n          google_chat_webhook: ${{ secrets.GOOGLE_CHAT_WEBHOOK }}\n          ms_teams_webhook: ${{ secrets.MS_TEAMS_WEBHOOK }}\n          title: \"Deploy to Dev\"\n          description: \"Test here: https://hung.thedev.id\"\n\n  notifification:\n    needs: deploy\n    runs-on: ubuntu-latest\n\n    steps:\n      - name: Notification Success\n        uses: hunghg255/action-notifications@master\n        if: always()\n        with:\n          discord_webhook: ${{ secrets.DISCORD_WEBHOOK }}\n          slack_webhook: ${{ secrets.SLACK_WEBHOOK }}\n          telegram_bot_token: ${{ secrets.TELEGRAM_BOT_TOKEN }}\n          telegram_chat_id: ${{ secrets.TELEGRAM_CHAT_ID }}\n          # Remove comment below for Telegram Topic Message\n          # telegram_message_thread_id: ${{ secrets.TELEGRAM_MESSAGE_THREAD_ID }}\n          google_chat_webhook: ${{ secrets.GOOGLE_CHAT_WEBHOOK }}\n          ms_teams_webhook: ${{ secrets.MS_TEAMS_WEBHOOK }}\n          title: \"Deploy to Dev\"\n          description: \"Test here: https://hung.thedev.id\"\n```\n\n\n## Results\n\n- Discord\n\n![Discord](./assets/discord.png)\n\n\n- Slack\n\n![Slack](./assets/slack.png)\n\n\n- Telegram\n\n![Telegram](./assets/telegram.png)\n\n- Google Chat\n\n![Google Chat](./assets/google-chat.png)\n\n- Microsoft Teams\n\n![Microsoft Teams](./assets/ms-teams.png)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhunghg255%2Faction-notifications","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhunghg255%2Faction-notifications","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhunghg255%2Faction-notifications/lists"}