-
-
Notifications
You must be signed in to change notification settings - Fork 0
36 lines (33 loc) · 976 Bytes
/
readme-tree.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
name: Readme Tree
on:
push:
branches: [main]
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
tree:
runs-on: ubuntu-latest
name: readme-tree
steps:
- uses: actions/checkout@v4
- name: Create README Tree
uses: RavelloH/readme-tree@v1.1.0
with:
showdirectoryname: "yes"
- name: Generate GitHub App Token
uses: tibdex/github-app-token@v2
id: generate-token
with:
app_id: ${{ secrets.APP_ID }}
private_key: ${{ secrets.APP_PRIVATE_KEY }}
- name: Create Pull Request
uses: peter-evans/create-pull-request@v6
with:
branch: update-readme-tree
commit-message: Update README Tree
title: Update README Tree
body: This PR includes new updates to the README Tree.
labels: chore
token: ${{ steps.generate-token.outputs.token }}