Skip to content

GitHub Action which converts GitHub Issue to Hexo post

Notifications You must be signed in to change notification settings

somidad/action-issue-to-hexo

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Issue to Hexo

This action converts a GitHub Issue to a Hexo post.

Template

In converting, this action takes information of an issue and set it to information of a post as follows:

GitHub Issue Hexo post Action
Title Title
Last updated date/time Date
Labels Tags
Body Content
Milestone Issue is converted only if milestone is set to publish

Usage

name: Issue to Hexo
on:
  issues:
    # Sufficient to trigger this workflow when an issue is milestoned
    types: [ milestoned ]
jobs:
  build:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v2
      - uses: gsongsong/issue-to-hexo
        with:
          issue_url: ${{ github.event.issue.url }}
          # Personal access token used to get information of Issue
          token: ${{ secrets.token }}
      # At this point, a markdown file is generated and untracked
      # Take further action, e.g. generate (`hexo generate`), commit and push

Sponsor

If you feel this is useful, please consider to support me:

Buy Me A Coffee

About

GitHub Action which converts GitHub Issue to Hexo post

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published