Skip to content

Commit 42e947a

Browse files
feat: Auto-commit configuration documentation updates from CI builds
1 parent 4f6d6a1 commit 42e947a

File tree

2 files changed

+14
-1
lines changed

2 files changed

+14
-1
lines changed

.github/workflows/deploy.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,10 @@ jobs:
1515
deploy:
1616
name: Deploy to GitHub Pages
1717
runs-on: ubuntu-latest
18+
permissions:
19+
contents: write # Commit docs changes to the repository
20+
pages: write # for GitHub pages deployment
21+
id-token: write # for GitHub Actions deployment
1822
steps:
1923
- name: Cached LFS checkout
2024
uses: nschloe/action-cached-lfs-checkout@f46300cd8952454b9f0a21a3d133d4bd5684cfc2
@@ -34,6 +38,15 @@ jobs:
3438
env:
3539
HUBSPOT_TRACKING_ID: ${{ secrets.HUBSPOT_TRACKING_ID }}
3640

41+
- name: Commit updated config documentation
42+
uses: stefanzweifel/git-auto-commit-action@778341af668090896ca464160c2def5d1d1a3eb0 #v6.0.1
43+
with:
44+
commit_message: 'docs: auto-update OpenFGA configuration documentation'
45+
file_pattern: '*.mdx'
46+
commit_user_name: 'github-actions[bot]'
47+
commit_user_email: '41898282+github-actions[bot]@users.noreply.github.com'
48+
commit_author: 'github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>'
49+
3750
# Popular action to deploy to GitHub Pages:
3851
# Docs: https://github.com/peaceiris/actions-gh-pages#%EF%B8%8F-docusaurus
3952
- name: Deploy to GitHub Pages

docs/content/getting-started/setup-openfga/configuration.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ docker run docker.io/openfga/openfga:latest run \
101101

102102
## List of options
103103

104-
The following table lists the configuration options for the OpenFGA server [v1.8.15](https://github.com/openfga/openfga/releases/tag/v1.8.15), based on the [config-schema.json](https://raw.githubusercontent.com/openfga/openfga/refs/tags/v1.8.15/.config-schema.json).
104+
The following table lists the configuration options for the OpenFGA server [v1.8.16](https://github.com/openfga/openfga/releases/tag/v1.8.16), based on the [config-schema.json](https://raw.githubusercontent.com/openfga/openfga/refs/tags/v1.8.16/.config-schema.json).
105105

106106
| Config File | Env Var | Flag Name | Type | Description | Default Value |
107107
|-------------|---------|-----------|------|-------------|---------------|

0 commit comments

Comments
 (0)