docs: Add workflow to auto update Regal docs#8318
Merged
charlieegan3 merged 2 commits intoopen-policy-agent:mainfrom Feb 16, 2026
Merged
docs: Add workflow to auto update Regal docs#8318charlieegan3 merged 2 commits intoopen-policy-agent:mainfrom
charlieegan3 merged 2 commits intoopen-policy-agent:mainfrom
Conversation
d7c0cbe to
9ff62e6
Compare
✅ Deploy Preview for openpolicyagent ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
srenatus
approved these changes
Feb 14, 2026
.github/workflows/docs-update.yaml
Outdated
| --body "$(cat <<EOF | ||
| This PR updates the Regal documentation to $VERSION. | ||
|
|
||
| /cc @charlieegan3 @anderseknert |
Contributor
There was a problem hiding this comment.
Hehehe. But do you need both the mention and the --reviewer?
Contributor
Author
There was a problem hiding this comment.
Hmm, not really! I have removed in e1e0785
We want to automate the process of importing the latest regal release's docs. Signed-off-by: Charlie Egan <charlie_egan@apple.com>
This is not needed when we have reviewer set too. Signed-off-by: Charlie Egan <charlie_egan@apple.com>
e1e0785 to
2d82027
Compare
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
We want to automate the process of importing the latest Regal release's docs.
Example of how the workflow runs: https://github.com/charlieegan3/opa/actions/runs/21954398263/job/63413985694
Example of a PR it might open: charlieegan3#3
Example of what happens when a branch is already open for that release: https://github.com/charlieegan3/opa/actions/runs/21954658101
This is based on the assumption that the GH_PUSH_TOKEN can open PRs and push to new branches.