{"id":15532102,"url":"https://github.com/endbug/discuss-on-discord","last_synced_at":"2026-03-11T10:32:48.304Z","repository":{"id":148241991,"uuid":"614815292","full_name":"EndBug/discuss-on-discord","owner":"EndBug","description":":octocat: A GitHub action that creates a thread on Discord for every issue","archived":false,"fork":false,"pushed_at":"2025-02-19T07:52:46.000Z","size":1923,"stargazers_count":5,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-23T13:17:44.329Z","etag":null,"topics":["actions","automation","ci","discord","github","github-actions","hacktoberfest","issues","workflow"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/EndBug.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","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},"funding":{"github":["endbug"],"patreon":null,"open_collective":null,"ko_fi":null,"tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"otechie":null,"custom":null}},"created_at":"2023-03-16T11:31:22.000Z","updated_at":"2025-02-21T11:00:20.000Z","dependencies_parsed_at":"2024-01-11T01:26:32.509Z","dependency_job_id":"0c44b68c-e8c3-41e9-b5d2-5be7e078999a","html_url":"https://github.com/EndBug/discuss-on-discord","commit_stats":{"total_commits":118,"total_committers":2,"mean_commits":59.0,"dds":0.2033898305084746,"last_synced_commit":"6002d3fe990f10a7ec4a0c82e993daad6adedbe9"},"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EndBug%2Fdiscuss-on-discord","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EndBug%2Fdiscuss-on-discord/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EndBug%2Fdiscuss-on-discord/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EndBug%2Fdiscuss-on-discord/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/EndBug","download_url":"https://codeload.github.com/EndBug/discuss-on-discord/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250439295,"owners_count":21430824,"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","automation","ci","discord","github","github-actions","hacktoberfest","issues","workflow"],"created_at":"2024-10-02T11:29:06.668Z","updated_at":"2026-03-11T10:32:48.233Z","avatar_url":"https://github.com/EndBug.png","language":"TypeScript","funding_links":["https://github.com/sponsors/endbug"],"categories":[],"sub_categories":[],"readme":"# Discuss on Discord\n\n[![All Contributors](https://img.shields.io/github/all-contributors/EndBug/discuss-on-discord)](#contributors-)\n\nYou can use this GitHub action to automatically create a thread on Discord when a new issue is opened on GitHub.\n\n## Table of contents\n\n- [Inputs](#inputs)\n- [Outputs](#outputs)\n- [Examples](#examples)\n- [Contributors](#contributors-)\n\n## Inputs\n\nHere's the complete list of inputs for this action, also available in the [action.yml](action.yml) file.  \nFor a minimal/typical usage, check out the [examples](#examples) section.\n\n```yaml\n- uses: EndBug/discuss-on-discord@v1\n  with:\n    # ⬇️ Required inputs ⬇️\n\n    # The token to use to communicate with the Discord API\n    # The bot should have permission to send messages and create threads in the channel\n    discord_bot_token: ${{ secrets.DISCORD_BOT_TOKEN }}\n\n    # The link to the message or channel to post messages and create threads in.\n    # If a channel link is used, the thread will be created on a new message in\n    # that channel. Otherwise, the thread will be created on the linked message.\n    # Remember that each message can only have one thread, so if you use a message\n    # link, make sure that the message doesn't already have one.\n    destination: https://discord.com/channels/123456789012345678/123456789012345678\n\n    # ⬇️ Optional inputs ⬇️\n\n    # The body of the message to send in the Discord channel (if any)\n    # Default: see action.yml\n    discord_message: New issue!\n\n    # The link to an existing thread to use instead of creating a new one\n    # If left empty or unset, a new thread will be created\n    # If an existing thread is set, and the action is run on the \"edited\" event action,\n    # then the title of the thread will be updated to match the new title of the issue.\n    # Default: ''\n    existing_discord_thread: 'https://discord.com/channels/123456789012345678/123456789012345678'\n\n    # The body of the comment to post on the issue; set it to an empty string to disable issue comments.\n    # Any match of `$THREAD_LINK$` will be replaced with the link to the Discord thread.\n    # Default: see action.yml\n    issue_comment: 'Thread here: $THREAD_LINK$'\n\n    # Whether to include a link to the action at the end of the GitHub comment\n    # Default: true\n    issue_comment_tag: false\n\n    # The issue number to create a thread for\n    # Default: ${{ github.event.issue.number }}\n    issue_number: 123\n\n    # The repository that the issue is in\n    # Default: ${{ github.repository }}\n    issue_repo: octocat/Hello-World\n\n    # The token to use to communicate with the GitHub API\n    # Default: ${{ github.token }}\n    github_token: ${{ secrets.PAT }}\n```\n\n## Outputs\n\nThe action provides these outputs:\n\n- `comment_id`: The ID of the comment that was posted on the issue\n- `comment_link`: The link to the comment that was posted on the issue\n- `thread_id`: The ID of the thread that was created\n- `thread_link`: The link to the thread that was created\n\n## Examples\n\n### Minimal usage\n\n```yaml\non:\n  issues:\n    types: [opened] # you can also add reopened, etc. if you want to\n\npermissions:\n  issues: write\n\njobs:\n  discord:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: EndBug/discuss-on-discord@v1\n        with:\n          discord_bot_token: ${{ secrets.DISCORD_BOT_TOKEN }}\n          destination: https://discord.com/channels/123456789012345678/123456789012345678\n```\n\n### Allow manual dispatch\n\n```yaml\non:\n  issues:\n    types: [opened]\n  workflow_dispatch:\n    inputs:\n      issue_number:\n        description: 'Issue number'\n        required: true\n\npermissions:\n  issues: write\n\njobs:\n  discord:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: EndBug/discuss-on-discord@v1\n        with:\n          discord_bot_token: ${{ secrets.DISCORD_BOT_TOKEN }}\n          destination: https://discord.com/channels/123456789012345678/123456789012345678\n          issue_number: ${{ github.event.inputs.issue_number || github.event.issue.number }}\n```\n\n### Update an existing thread\n\n```yaml\non:\n  issues:\n    types: [opened, edited]\n\npermissions:\n  issues: write\n\njobs:\n  discord:\n    runs-on: ubuntu-latest\n    steps:\n      - id: thread\n        # Let's assume that you're setting a `link` output in this step\n        # For example, you could get this from a project\n\n      - uses: EndBug/discuss-on-discord@v1\n        with:\n          discord_bot_token: ${{ secrets.DISCORD_BOT_TOKEN }}\n          existing_discord_thread: ${{ steps.thread.outputs.link }}\n          destination: https://discord.com/channels/123456789012345678/123456789012345678\n```\n\n## Contributors ✨\n\n\u003c!-- ALL-CONTRIBUTORS-LIST:START - Do not remove or modify this section --\u003e\n\u003c!-- prettier-ignore-start --\u003e\n\u003c!-- markdownlint-disable --\u003e\n\u003ctable\u003e\n  \u003ctbody\u003e\n    \u003ctr\u003e\n      \u003ctd align=\"center\" valign=\"top\" width=\"14.28%\"\u003e\u003ca href=\"https://github.com/EndBug\"\u003e\u003cimg src=\"https://avatars.githubusercontent.com/u/26386270?v=4?s=100\" width=\"100px;\" alt=\"Federico Grandi\"/\u003e\u003cbr /\u003e\u003csub\u003e\u003cb\u003eFederico Grandi\u003c/b\u003e\u003c/sub\u003e\u003c/a\u003e\u003cbr /\u003e\u003ca href=\"https://github.com/EndBug/discuss-on-discord/commits?author=EndBug\" title=\"Code\"\u003e💻\u003c/a\u003e\u003c/td\u003e\n    \u003c/tr\u003e\n  \u003c/tbody\u003e\n  \u003ctfoot\u003e\n    \u003ctr\u003e\n      \u003ctd align=\"center\" size=\"13px\" colspan=\"7\"\u003e\n        \u003cimg src=\"https://raw.githubusercontent.com/all-contributors/all-contributors-cli/1b8533af435da9854653492b1327a23a4dbd0a10/assets/logo-small.svg\"\u003e\n          \u003ca href=\"https://all-contributors.js.org/docs/en/bot/usage\"\u003eAdd your contributions\u003c/a\u003e\n        \u003c/img\u003e\n      \u003c/td\u003e\n    \u003c/tr\u003e\n  \u003c/tfoot\u003e\n\u003c/table\u003e\n\n\u003c!-- markdownlint-restore --\u003e\n\u003c!-- prettier-ignore-end --\u003e\n\n\u003c!-- ALL-CONTRIBUTORS-LIST:END --\u003e\n\nThis project follows the [all-contributors](https://github.com/all-contributors/all-contributors) specification. Contributions of any kind welcome!\n\n### Additional credits\n\n\u003ctable\u003e\n  \u003ctr\u003e\n    \u003ctd align=\"center\" width=\"14.28%\" \u003e\n      \u003cimg width=100 src=\"https://avatars.githubusercontent.com/u/21289761?\u0026v=4\"\u003e\n    \u003c/td\u003e\n    \u003ctd align=\"center\" width=\"42.84%\"\u003e\n      This project has started thanks to the input of the \u003ca href=\"https://githubcampus.expert\" style=\"white-space: nowrap;\"\u003eGitHub Campus Experts Program 🚩\u003c/a\u003e\n    \u003c/td\u003e\n  \u003c/tr\u003e\n\u003c/table\u003e\n\n## License\n\nThis action is distributed under the MIT license, check the [license](LICENSE) for more info.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fendbug%2Fdiscuss-on-discord","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fendbug%2Fdiscuss-on-discord","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fendbug%2Fdiscuss-on-discord/lists"}