2024-01-21 17:07:40 +00:00
|
|
|
name: Readme Generator
|
|
|
|
|
|
|
|
on:
|
2024-01-21 17:10:37 +00:00
|
|
|
workflow_dispatch:
|
2024-04-05 12:49:58 +00:00
|
|
|
schedule:
|
|
|
|
- cron: '0 0 * * 1'
|
2024-01-21 17:07:40 +00:00
|
|
|
|
|
|
|
jobs:
|
|
|
|
generate-readme-file:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
|
|
- name: Checkout code
|
2024-06-19 05:28:01 +00:00
|
|
|
uses: actions/checkout@v4.1.7
|
2024-01-21 17:07:40 +00:00
|
|
|
|
|
|
|
- name: Install Bun
|
2024-06-24 19:04:16 +00:00
|
|
|
uses: oven-sh/setup-bun@v2
|
2024-01-21 17:07:40 +00:00
|
|
|
|
|
|
|
- name: Generate new README.md file
|
2024-01-22 16:20:22 +00:00
|
|
|
run: bun .github/scripts/readme-generator.ts
|
2024-01-21 17:07:40 +00:00
|
|
|
|
|
|
|
- name: Create Pull Request
|
2024-03-04 19:41:10 +00:00
|
|
|
uses: peter-evans/create-pull-request@v6
|
2024-01-21 17:07:40 +00:00
|
|
|
with:
|
|
|
|
token: ${{ secrets.GITHUB_TOKEN }}
|
|
|
|
commit-message: |
|
|
|
|
docs: regenerate readme app list
|
|
|
|
committer: GitHub <noreply@github.com>
|
|
|
|
author: GitHub <noreply@github.com>
|
|
|
|
branch: bot/readme-update
|
|
|
|
title: |
|
|
|
|
readme-generator: update readme
|
|
|
|
labels: bot
|