Skip to content

Automate verified content updates - #93

Merged
HeyItsGilbert merged 2 commits into
mainfrom
feat/automate-verified-updates
Aug 29, 2026
Merged

Automate verified content updates#93
HeyItsGilbert merged 2 commits into
mainfrom
feat/automate-verified-updates

Conversation

@HeyItsGilbert

Copy link
Copy Markdown
Member

Summary

  • create scheduled-update pull requests with the dedicated PowerShell.org Automation GitHub App
  • add a privileged, PR-only merger that runs only after Build Hugo Site succeeds
  • verify the PR was created by the configured app and still points at the tested commit before merging

Security

The merger never checks out pull-request code. It accepts only the three fixed automation branches, same-repository PRs, and the GitHub App bot as author.

Verification

  • rebased on origin/main
  • parsed and validated all eight workflow configurations

Copilot AI lite review requested due to automatic review settings August 29, 2026 02:22
@netlify

netlify Bot commented Aug 29, 2026

Copy link
Copy Markdown

Deploy Preview for powershellorg ready!

Name Link
🔨 Latest commit 111a5f4
🔍 Latest deploy log https://app.netlify.com/projects/powershellorg/deploys/6a92433bd2c95b0008bd215d
😎 Deploy Preview https://deploy-preview-93--powershellorg.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
🤖 Make changes Run an agent on this branch

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

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

This pull request updates the GitHub Actions automation workflows for podcast sync, meetup sync, and community stats updates to create PRs using a dedicated GitHub App token, and adds a new workflow that auto-merges only those automation PRs after the “Build Hugo Site” workflow succeeds.

Changes:

  • Replace direct GITHUB_TOKEN write permissions in the three sync/update workflows with a GitHub App installation token used only for PR creation.
  • Add a new workflow_run-triggered merger workflow that merges only specific automation branches after a successful “Build Hugo Site” run.
  • Add author/branch/base/head-sha validation gates before merging.

Reviewed changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated 1 comment.

File Description
.github/workflows/podcast-sync.yml Switch PR creation to use a GitHub App token; reduce default workflow permissions.
.github/workflows/meetup-sync.yml Switch PR creation to use a GitHub App token; reduce default workflow permissions.
.github/workflows/community-stats.yml Switch PR creation to use a GitHub App token; reduce default workflow permissions.
.github/workflows/merge-automation-prs.yml Add privileged post-build merger gated on workflow_run success and automation-branch/app-bot verification.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread .github/workflows/merge-automation-prs.yml
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
@HeyItsGilbert
HeyItsGilbert merged commit a49ef99 into main Aug 29, 2026
5 checks passed
@HeyItsGilbert
HeyItsGilbert deleted the feat/automate-verified-updates branch August 29, 2026 02:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants