name: "Markdown to Gempost" on: workflow_dispatch: push: branches: - main paths: - 'markdown/**' concurrency: group: md2gmi cancel-in-progress: true defaults: run: shell: bash jobs: md2gmi: runs-on: ubuntu-latest permissions: contents: write steps: - uses: actions/checkout@v4 - uses: ./.github/actions/markdown2gempost with: input-dir: 'markdown/incoming' output-dir: 'gemlog' processed-dir: 'markdown' - uses: stefanzweifel/git-auto-commit-action@v5 with: commit_message: 'convert Markdown post to Gempost' token: ${{ secrets.MY_GH_TOKEN }}