Skip to content

update views ref#9

Open
seanbudd wants to merge 1 commit intomainfrom
updateRefs
Open

update views ref#9
seanbudd wants to merge 1 commit intomainfrom
updateRefs

Conversation

@seanbudd
Copy link
Copy Markdown
Member

@seanbudd seanbudd commented Apr 2, 2026

No description provided.

Copilot AI review requested due to automatic review settings April 2, 2026 07:15
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR updates the default Git branch reference used by the /update webhook endpoint to target main by default, and aligns README examples accordingly.

Changes:

  • Change the default branchRef value in the webhook handler from refs/heads/views-staging to refs/heads/main.
  • Update README /update example payloads to reference refs/heads/main.
  • Update README environment variable docs to state a main default.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 4 comments.

File Description
src/app.py Updates the default branchRef used to decide whether to process webhook push events.
README.md Updates /update payload examples and the documented default branch ref.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment on lines 93 to +96
* `TEMP`: path to an existing folder to create temporary locks
* `dataViewsFolder`: path to where your repository of `addon-datastore` is checked out locally
* `branchRef`: Git branch to track for `addon-datastore`
* views-staging/views
* Default is `main`
Copy link

Copilot AI Apr 2, 2026

Choose a reason for hiding this comment

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

The docs say the branchRef default is main, but the application default is refs/heads/main (and /update compares against the full ref from GitHub payloads). Please update the docs to reflect the full default value and clarify whether branchRef should be a full ref (refs/heads/<branch>) or a short name—also align the earlier flask run example (branchRef=views) accordingly.

Copilot uses AI. Check for mistakes.
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