-
Notifications
You must be signed in to change notification settings - Fork 98
feat: GitHub Actions auto-commit #1062
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
Open
Siddhant-K-code
wants to merge
10
commits into
openfga:main
Choose a base branch
from
Siddhant-K-code:feat/github-actions-auto-commit
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
10 commits
Select commit
Hold shift + click to select a range
eb01fe0
docs: update OpenFGA configuration for v1.8.15
Siddhant-K-code 14f35aa
feat: add auto-commit GitHub Actions for config docs
Siddhant-K-code 15b9595
Merge branch 'main' into feat/github-actions-auto-commit
Siddhant-K-code 3de76c6
rm docs changes
Siddhant-K-code 10e12f6
revert whitespace changes
Siddhant-K-code c927901
address changes
Siddhant-K-code 5c88010
rm docs changes
Siddhant-K-code e79ebfe
correct SHA
Siddhant-K-code e901fd2
rm
Siddhant-K-code 9e60a91
Merge branch 'main' into feat/github-actions-auto-commit
Siddhant-K-code File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Some comments aren't visible on the classic Files Changed page.
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,42 @@ | ||
| name: Update OpenFGA Documentation | ||
|
|
||
| on: | ||
| # Nightly @ 5AM UTC | ||
| schedule: | ||
| - cron: '0 5 * * *' | ||
| # When triggered manually | ||
| workflow_dispatch: | ||
|
|
||
| jobs: | ||
| update-docs: | ||
| name: Update OpenFGA Documentation | ||
| runs-on: ubuntu-latest | ||
| permissions: | ||
| contents: write # Commit docs changes to the repository | ||
| steps: | ||
| - name: Cached LFS checkout | ||
| uses: nschloe/action-cached-lfs-checkout@f46300cd8952454b9f0a21a3d133d4bd5684cfc2 | ||
|
|
||
| - name: Set up node | ||
| uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 | ||
| with: | ||
| node-version: '22' | ||
| registry-url: 'https://registry.npmjs.org' | ||
| cache: 'npm' | ||
|
|
||
| - name: Install dependencies | ||
| run: npm ci | ||
|
|
||
| - name: Build website | ||
| run: npm run build | ||
| env: | ||
| HUBSPOT_TRACKING_ID: ${{ secrets.HUBSPOT_TRACKING_ID }} | ||
|
|
||
| - name: Commit updated config documentation | ||
| uses: stefanzweifel/git-auto-commit-action@778341af668090896ca464160c2def5d1d1a3eb0 #v6.0.1 | ||
| with: | ||
| commit_message: 'docs: auto-update OpenFGA configuration documentation' | ||
| file_pattern: '*.mdx' | ||
| commit_user_name: 'github-actions[bot]' | ||
| commit_user_email: '41898282+github-actions[bot]@users.noreply.github.com' | ||
| commit_author: 'github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>' | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -241,4 +241,4 @@ The following table lists the configuration options for the OpenFGA server [v1.1 | |
| id: './best-practices/running-in-production' | ||
| } | ||
| ]} | ||
| /> | ||
| /> | ||
|
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Unintentional & non-related change, it just added an EOL |
||
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.