Skip to content

Commit

Permalink
generate readme tree bot
Browse files Browse the repository at this point in the history
  • Loading branch information
trueberryless committed Jan 2, 2025
1 parent b9237cc commit 78822fb
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/generate-readme-tree.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,12 @@ jobs:
commit-tree-changes:
runs-on: ubuntu-latest
steps:
- name: Generate GitHub App token
id: generate_token
uses: tibdex/[email protected]
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
Expand All @@ -16,7 +22,7 @@ jobs:
- name: Create Pull Request
uses: peter-evans/create-pull-request@v7
with:
token: ${{ secrets.PUBLIC_GITHUB_TOKEN }}
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>
Expand Down

0 comments on commit 78822fb

Please sign in to comment.