From 2716f1be9aa75e78286aa244c230532559a3c2b2 Mon Sep 17 00:00:00 2001 From: xavierchanth Date: Wed, 21 Feb 2024 15:11:00 -0500 Subject: [PATCH 1/2] ci: add gitbook auto pr workflow --- .github/workflows/gitbook.yaml | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 .github/workflows/gitbook.yaml diff --git a/.github/workflows/gitbook.yaml b/.github/workflows/gitbook.yaml new file mode 100644 index 0000000..1f661dc --- /dev/null +++ b/.github/workflows/gitbook.yaml @@ -0,0 +1,32 @@ +name: Gitbook Review +on: + push: + branches: + - gitbook + +permissions: + contents: read + +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 docs from Gitbook' \ + --body 'Sync Gitbook docs branch to trunk' || \ + echo "Already created?"; From 1e5debe3cd07b6856efd32c87363069a18fae850 Mon Sep 17 00:00:00 2001 From: xavierchanth Date: Mon, 26 Feb 2024 16:49:01 -0500 Subject: [PATCH 2/2] docs: Update README.md logo --- CONTRIBUTING.md | 2 +- README.md | 2 +- SECURITY.md | 2 +- code_of_conduct.md | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index a28637c..a16e96c 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -1,4 +1,4 @@ - +The Atsign FoundationThe Atsign Foundation # Contributing guidelines diff --git a/README.md b/README.md index fc41687..3268cab 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ - +The Atsign FoundationThe Atsign Foundation # Docs diff --git a/SECURITY.md b/SECURITY.md index 6f56d8a..f4d0ce3 100644 --- a/SECURITY.md +++ b/SECURITY.md @@ -1,4 +1,4 @@ - +The Atsign FoundationThe Atsign Foundation # Atsign Foundation Open Source Security Policies and Procedures diff --git a/code_of_conduct.md b/code_of_conduct.md index 072d50a..84302c5 100644 --- a/code_of_conduct.md +++ b/code_of_conduct.md @@ -1,4 +1,4 @@ - +The Atsign FoundationThe Atsign Foundation # The Atsign Foundation Code of Conduct