Skip to content

ci: release template-files v0.10.7 (#232) #360

ci: release template-files v0.10.7 (#232)

ci: release template-files v0.10.7 (#232) #360

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@3beb63f4bd073e61482598c45c71c1019b59b73a # v2.1.0
with:
app_id: ${{ secrets.BOT_APP_ID }}
private_key: ${{ secrets.BOT_PRIVATE_KEY }}
- uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
- 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@84ae59a2cdc2258d6fa0732dd66352dddae2a412 # v7.0.9
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 [skip netlify]"
body: "This PR was automatically created to update the project structure tree in every `README.md`."
labels: 🤖 bot
assignees: trueberryless
draft: false