Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs(automated): Update Gitbook docs #729

Merged
merged 17 commits into from Jan 25, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
30 changes: 30 additions & 0 deletions .github/workflows/gitbook.yaml
@@ -0,0 +1,30 @@
name: Gitbook Review
on:
push:
branches:
- gitbook

jobs:
create-pull-request:
env:
branch: gitbook

runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1

- name: Authenticate GitHub CLI
run: |
echo -e ${{ secrets.MY_GITHUB_TOKEN }} | gh auth login --with-token

- name: Create Pull Request
run: |
gh pr create \
--base 'trunk' \
--head 'gitbook' \
--reviewer 'xavierchanth' \
--title 'docs(automated): Update Gitbook docs' \
--body 'Automated PR' || \
echo "Already created?";