{"id":18269685,"url":"https://github.com/skyfe79/hugo-with-github-issues","last_synced_at":"2025-04-04T23:31:25.342Z","repository":{"id":47760972,"uuid":"395643213","full_name":"skyfe79/hugo-with-github-issues","owner":"skyfe79","description":"hugo-with-github-issues","archived":false,"fork":false,"pushed_at":"2023-01-17T03:58:58.000Z","size":1087,"stargazers_count":12,"open_issues_count":1,"forks_count":4,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-20T20:17:54.011Z","etag":null,"topics":["actions"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/skyfe79.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-08-13T12:16:19.000Z","updated_at":"2024-11-14T05:09:54.000Z","dependencies_parsed_at":"2023-02-10T07:46:01.346Z","dependency_job_id":null,"html_url":"https://github.com/skyfe79/hugo-with-github-issues","commit_stats":{"total_commits":42,"total_committers":2,"mean_commits":21.0,"dds":0.04761904761904767,"last_synced_commit":"aec2dfa60895c1ce367e1cb8d2819be1a28bed91"},"previous_names":[],"tags_count":17,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/skyfe79%2Fhugo-with-github-issues","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/skyfe79%2Fhugo-with-github-issues/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/skyfe79%2Fhugo-with-github-issues/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/skyfe79%2Fhugo-with-github-issues/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/skyfe79","download_url":"https://codeload.github.com/skyfe79/hugo-with-github-issues/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247266476,"owners_count":20910831,"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"],"created_at":"2024-11-05T11:36:51.299Z","updated_at":"2025-04-04T23:31:24.958Z","avatar_url":"https://github.com/skyfe79.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Convert Github issues to markdowns.\n\n`hugo-with-github-issues` converts github issues to markdowns. Github issue has a title and comments. `hugo-with-github-issues` connects comments to the one body content. Github issue supports to upload images to the comments so markdown can contains images.\n\n## Example Repo\n\n- [https://github.com/skyfe79/testing-hugo-with-github-issues](https://github.com/skyfe79/testing-hugo-with-github-issues)\n\n### This issue is\n\n- [https://github.com/skyfe79/blog.contents/issues/9](https://github.com/skyfe79/blog.contents/issues/9)\n\n### converted below the post:\n\n- [https://blog.burt.pe.kr/posts/skyfe79-blog.contents-970590914-post-9/](https://blog.burt.pe.kr/posts/skyfe79-blog.contents-970590914-post-9/)\n\n### Command Labels\n\n- `::./content/{specific folder name}` - store markdown file to the `content/{specific folder name}`\n- `::DRAFT` - skip conversion.\n- `::DONE` - skip conversion.\n\n\n## Usage\n\nThis is workflow example:\n\n```yml\nname: \"Convert issues to markdowns\"\non:\n  workflow_dispatch:\n    \njobs:\n  convert_issues_to_markdown_job:\n    runs-on: ubuntu-latest\n    name: Convert issues to markdowns.\n    steps:\n      - name: checkout\n        uses: actions/checkout@v1\n      - name: Fetch issues and generate markdowns\n        uses: skyfe79/hugo-with-github-issues@v1.3\n        with:\n          github-token: ${{ secrets.GITHUB_TOKEN }}\n          repo: 'testing-hugo-with-github-issues'\n          owner: 'skyfe79'\n          skip-author: 'utterances-bot'\n          use-issue-seperator: 'false'\n          output: 'content/posts'\n      - name: Commit files\n        run: |\n          git config --local user.email \"skyfe79@gmail.com\"\n          git config --local user.name \"sungcheol kim\"\n          git add .\n          git commit -m \"Add Posts\"\n      - name: Push changes\n        uses: ad-m/github-push-action@master\n        with:\n          github_token: ${{ secrets.GITHUB_TOKEN }}\n          branch: ${{ github.ref }}\n```\n\n## Inputs\n\n```\ngithub-token:\n  description: 'github token'\n  required: true\n\nrepo:\n  description: 'repo to export'\n  required: true\n\nowner:\n  description: 'repo owner'\n  required: true\n\nskip-author:\n  description: 'skip issue written by the skip-author'\n  required: false\n\nskip-pull-requests:\n  description: 'skip pull request issue'\n  required: true\n  default: false\n\nissue-state:\n  description: 'export issues only in state(all, open or closed)'\n  required: true\n  default: 'all'\n\nuse-issue-seperator:\n  description: 'use seperator among comments'\n  required: true\n  default: 'false'\n\noutput:\n  description: 'destination folder to store markdown files'\n  required: true\n  default: 'content'\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fskyfe79%2Fhugo-with-github-issues","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fskyfe79%2Fhugo-with-github-issues","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fskyfe79%2Fhugo-with-github-issues/lists"}