A Github action to create issues from github repository.
I use this action for my blog system, make me more focused on writing.
- WYWIWYG(What You Write Is What You Get)
- Based on github file content
- Automatically generate and update issues
- Template support
- Automatic conversion image link
- Easy to using
Issues: Thanks-for-using.md
name: git issues blog workflow
on:
push:
branches:
- master
paths:
- 'posts/*.md'
- 'posts/*/*.md'
- 'posts/*/*/*.md'
jobs:
git-issues-blog:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
with:
ref: master
- name: Git-Issues-Blog
uses: Sep0lkit/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
POSTS_PATH: 'posts'
POSTS_PATH
- blog posts folder name, default is "posts"
"_tpl/post-header.md" and "_tpl/post-footer.md" for templates, issues content will be:
Issues = post-header.md + posts/example.md + post-footer.md
tpl variables support:
{{ GITHUB_POSTS_USER }} #github repository username
{{ GITHUB_POSTS_URL }} #posts url in file but not issues.
- Posts by github user, but not github-action(github actions doesn't support now).