Skip to content

A11Might/lark-docx-readme

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

lark-docx-readme

Use lark docx update github README.md, such as the current document: lark-docx-readme.

Available as github action. It can automatically generate a new README.md each day. Which makes updating readme easier.

Usage

github action

# This workflow will build a golang project
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-go

name: pares docx into readme

on:
  # run automatically every 24 hours
  # schedule:
  #   - cron: "0 */24 * * *"

  # allows to manually run the job at any time
  workflow_dispatch:

  # run on every push on the master branch
  push:
    branches:
      - main

jobs:
  update_readme:
    permissions:
      contents: write
    runs-on: ubuntu-latest
    name: use docx update readme
    steps:
      - name: checkout
        uses: actions/checkout@v4
      - name: generate readme
        uses: A11Might/lark-docx-readme@main
        env:
          APP_ID: ${{ secrets.APP_ID }}
          APP_SECRET: ${{ secrets.APP_SECRET }}
          DOCUMENT_TYPE: ${{ secrets.DOCUMENT_TYPE }}
          DOCUMENT_ID: ${{ secrets.DOCUMENT_ID }}
      - name: push changes
        run: |
          git config --global user.email "41898282+github-actions[bot]@users.noreply.github.com"
          git config --global user.name "github-actions[bot]"
          git add .
          git commit -m "This is an automated commit by GitHub Actions."
          git push

Inspired by jamesgeorge007/github-activity-readme


This MARKDOWN was generated with ❤️ by lark_docx_md

About

Use lark docx update github README.md

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published