Skip to content

docs: Add workflow to auto update Regal docs#8318

Merged
charlieegan3 merged 2 commits intoopen-policy-agent:mainfrom
charlieegan3:regal-docs-automation
Feb 16, 2026
Merged

docs: Add workflow to auto update Regal docs#8318
charlieegan3 merged 2 commits intoopen-policy-agent:mainfrom
charlieegan3:regal-docs-automation

Conversation

@charlieegan3
Copy link
Contributor

@charlieegan3 charlieegan3 commented Feb 12, 2026

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.

@charlieegan3 charlieegan3 changed the title docs: Add workflow to auto update regal docs docs: Add workflow to auto update Regal docs Feb 12, 2026
@charlieegan3 charlieegan3 force-pushed the regal-docs-automation branch 2 times, most recently from d7c0cbe to 9ff62e6 Compare February 12, 2026 16:17
@netlify
Copy link

netlify bot commented Feb 12, 2026

Deploy Preview for openpolicyagent ready!

Name Link
🔨 Latest commit b246e89
🔍 Latest deploy log https://app.netlify.com/projects/openpolicyagent/deploys/698dfc9762fd54000898908e
😎 Deploy Preview https://deploy-preview-8318--openpolicyagent.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@open-policy-agent open-policy-agent deleted a comment from netlify bot Feb 12, 2026
Copy link
Contributor

@srenatus srenatus left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nicely done

--body "$(cat <<EOF
This PR updates the Regal documentation to $VERSION.

/cc @charlieegan3 @anderseknert
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hehehe. But do you need both the mention and the --reviewer?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hmm, not really! I have removed in e1e0785

@charlieegan3 charlieegan3 enabled auto-merge (squash) February 16, 2026 11:43
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>
@charlieegan3 charlieegan3 merged commit af61658 into open-policy-agent:main Feb 16, 2026
23 of 24 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants