Skip to content

Commit

Permalink
Merge pull request #729 from atsign-foundation/gitbook
Browse files Browse the repository at this point in the history
docs(automated): Update Gitbook docs
  • Loading branch information
XavierChanth committed Jan 25, 2024
2 parents 848a719 + 384021c commit 55c7c4c
Showing 1 changed file with 30 additions and 0 deletions.
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?";

0 comments on commit 55c7c4c

Please sign in to comment.