Skip to content

[autofix.ci] apply automated fixes #55

[autofix.ci] apply automated fixes

[autofix.ci] apply automated fixes #55

name: Add tree changes
on:
push:
branches: [main]
jobs:
commit-tree-changes:
runs-on: ubuntu-latest
steps:
- name: Generate GitHub App token
id: generate_token
uses: tibdex/github-app-token@v2.1.0
with:
app_id: ${{ secrets.BOT_APP_ID }}
private_key: ${{ secrets.BOT_PRIVATE_KEY }}
- uses: actions/checkout@v3
- name: Write tree outputs to README.md
uses: trueberryless-org/readme-tree-writer-all@v1
with:
config_path: .github/readmetreerc.yaml
- name: Create Pull Request
uses: peter-evans/create-pull-request@v7
with:
token: ${{ steps.generate_token.outputs.token }}
commit-message: "[ci] update tree"
committer: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
author: ${{ github.actor }} <${{ github.actor_id }}+${{ github.actor }}@users.noreply.github.com>
signoff: false
branch: ci-tree
delete-branch: true
title: "[ci] update tree"
body: "This PR was automatically created to update the project structure tree in every `README.md`."
labels: 🤖 bot
assignees: trueberryless
draft: false