{"id":15318416,"url":"https://github.com/appleboy/line-action","last_synced_at":"2025-10-25T02:27:15.090Z","repository":{"id":65158924,"uuid":"216035101","full_name":"appleboy/line-action","owner":"appleboy","description":"GitHub Action that sends a Line message.","archived":false,"fork":false,"pushed_at":"2021-02-13T03:07:49.000Z","size":13,"stargazers_count":6,"open_issues_count":1,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-05-20T05:36:14.679Z","etag":null,"topics":["github-actions","line","line-messaging-api","line-notify","linebot"],"latest_commit_sha":null,"homepage":"https://github.com/marketplace/actions/line-message-notify","language":"Dockerfile","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/appleboy.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}},"created_at":"2019-10-18T13:52:56.000Z","updated_at":"2024-01-13T16:52:25.000Z","dependencies_parsed_at":"2023-01-05T04:51:50.612Z","dependency_job_id":null,"html_url":"https://github.com/appleboy/line-action","commit_stats":{"total_commits":20,"total_committers":1,"mean_commits":20.0,"dds":0.0,"last_synced_commit":"96d78090a7eff6a7322edf4d67bdd714ba58f0df"},"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/appleboy%2Fline-action","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/appleboy%2Fline-action/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/appleboy%2Fline-action/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/appleboy%2Fline-action/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/appleboy","download_url":"https://codeload.github.com/appleboy/line-action/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247412552,"owners_count":20934877,"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":["github-actions","line","line-messaging-api","line-notify","linebot"],"created_at":"2024-10-01T09:00:00.409Z","updated_at":"2025-10-25T02:27:10.053Z","avatar_url":"https://github.com/appleboy.png","language":"Dockerfile","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 🚀 LINE for GitHub Actions\n\n[GitHub Action](https://developer.github.com/actions/) for sending a [Line](https://developers.line.biz/en/docs/messaging-api/overview/) message.\n\n[![Actions Status](https://github.com/appleboy/line-action/workflows/line%20message/badge.svg)](https://github.com/appleboy/line-action/actions)\n\n## Usage\n\nSend custom message and see the custom variable as blow.\n\n```yml\nname: line message\non: [push]\njobs:\n\n  build:\n    name: Build\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@master\n    - name: send custom message with args\n      uses: appleboy/line-action@master\n      with:\n        secret: ${{ secrets.secret }}\n        token: ${{ secrets.token }}\n        room: ${{ secrets.room }}\n        args: line message from GitHub Actions ${{ github.event_name }} event.\n```\n\n## Input variables\n\n* room - line room id\n* group - line group id\n* stickers - optional. sticker message. format is `packageId::stickerId`\n* audios - optional. audio message. format is `originalContentUrl::duration`\n* images - optional. voice message. format is `originalContentUrl::previewImageUrl`\n* locations - optional. location message. format is `title::address::latitude::longitude`\n* videos - optional. video message. format is `originalContentUrl::previewImageUrl`\n* delimiter - line delimiter, default is `::`\n\n## Example\n\nsend location message: format is `title::address::latitude::longitude`\n\n```yaml\n    - name: send location message\n      uses: appleboy/line-action@master\n      with:\n        secret: ${{ secrets.secret }}\n        token: ${{ secrets.token }}\n        room: ${{ secrets.room }}\n        locations: \"竹北體育館::新竹縣竹北市::24.834687::120.993368\"\n```\n\nsend sticker message: format is `packageId::stickerId`\n\nFor information on package IDs, see the [Sticker list](https://developers.line.biz/media/messaging-api/sticker_list.pdf).\n\n```yaml\n    - name: send sticker message\n      uses: appleboy/line-action@master\n      with:\n        secret: ${{ secrets.secret }}\n        token: ${{ secrets.token }}\n        room: ${{ secrets.room }}\n        stickers: \"1::1::100\"\n```\n\nsend image message: format is `originalContentUrl::previewImageUrl`\n\n```yaml\n    - name: send image message\n      uses: appleboy/line-action@master\n      with:\n        secret: ${{ secrets.secret }}\n        token: ${{ secrets.token }}\n        room: ${{ secrets.room }}\n        images: \"https://cdn3.iconfinder.com/data/icons/picons-social/57/16-apple-128.png\"\n```\n\nsend audio message: format is `originalContentUrl::duration`\n\n```yaml\n    - name: send audio message\n      uses: appleboy/line-action@master\n      with:\n        secret: ${{ secrets.secret }}\n        token: ${{ secrets.token }}\n        room: ${{ secrets.room }}\n        audios: \"https://www.soundhelix.com/examples/mp3/SoundHelix-Song-1.mp3::20\"\n```\n\nsend video message: format is `originalContentUrl::previewImageUrl`\n\n```yaml\n    - name: send video message\n      uses: appleboy/line-action@master\n      with:\n        secret: ${{ secrets.secret }}\n        token: ${{ secrets.token }}\n        room: ${{ secrets.room }}\n        videos: \"https://cuts.diamond.mlb.com/FORGE/2019/2019-09/28/ee8d662f-8984c7b1-2fc40a58-csvm-diamondx64-asset_1280x720_59_4000K.mp4\"\n```\n\n## Secrets\n\nGetting started with [Line Message API](https://developers.line.biz/en/reference/messaging-api).\n\n* `secret`: Channel secret. Found on the [console](https://developers.line.biz/console/).\n* `token`: Channel access token (long-lived). Long-lived token required for making API calls. These tokens do not expire. New tokens can be issued by clicking \"Issue\".\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fappleboy%2Fline-action","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fappleboy%2Fline-action","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fappleboy%2Fline-action/lists"}