Open bendichter opened 6 months ago
1d25c5c086
)[!TIP] I can email you next time I complete a pull request if you set up your email here!
I found the following snippets in your repository. I will now analyze these snippets and come up with a plan.
public/admin/config.yml
✓ https://github.com/catalystneuro/catalystneuro-website/commit/22ebe0e654c488d243a44650982cb2d5ebfe34cc Edit
Modify public/admin/config.yml with contents:
• Locate the "backend" configuration section at the beginning of the file.
• Add a new line under the "branch: main" line with the following configuration: "open_authoring: true". This change enables the CMS to use the Forking Workflow, where content editors can propose changes through pull requests from forks of the repository.
• Directly below the "open_authoring: true" line, add another line: "squash_merges: true". This ensures that all pull requests created by the CMS will be squashed into a single commit, keeping the commit history clean.
--- +++ @@ -1,6 +1,8 @@ backend: name: git-gateway branch: main + open_authoring: true + squash_merges: true media_folder: static/assets/img public_folder: assets/img collections:
public/admin/config.yml
✓ Edit
Check public/admin/config.yml with contents:
Ran GitHub Actions for 22ebe0e654c488d243a44650982cb2d5ebfe34cc:
static/admin/config.yml
✓ https://github.com/catalystneuro/catalystneuro-website/commit/7730c8d6b4293db414d2894e6fda4d885a86b105 Edit
Modify static/admin/config.yml with contents:
• Repeat the same modifications as for "public/admin/config.yml": * Locate the "backend" configuration section at the beginning of the file. * Add "open_authoring: true" under the "branch: main" line to enable the CMS to propose changes via pull requests from forks. * Add "squash_merges: true" directly below "open_authoring: true" to ensure that pull requests are squashed into a single commit.
--- +++ @@ -1,6 +1,8 @@ backend: name: git-gateway branch: main + open_authoring: true + squash_merges: true media_folder: static/assets/img public_folder: assets/img collections:
static/admin/config.yml
✓ Edit
Check static/admin/config.yml with contents:
Ran GitHub Actions for 7730c8d6b4293db414d2894e6fda4d885a86b105:
I have finished reviewing the code for completeness. I did not find errors for sweep/allow_cms_to_submit_prs_1_2954f
.
💡 To recreate the pull request edit the issue title or description. Something wrong? Let us know.
This is an automated message generated by Sweep AI.
Checklist
- [X] Modify `public/admin/config.yml` ✓ https://github.com/catalystneuro/catalystneuro-website/commit/22ebe0e654c488d243a44650982cb2d5ebfe34cc [Edit](https://github.com/catalystneuro/catalystneuro-website/edit/sweep/allow_cms_to_submit_prs_1_2954f/public/admin/config.yml) - [X] Running GitHub Actions for `public/admin/config.yml` ✓ [Edit](https://github.com/catalystneuro/catalystneuro-website/edit/sweep/allow_cms_to_submit_prs_1_2954f/public/admin/config.yml) - [X] Modify `static/admin/config.yml` ✓ https://github.com/catalystneuro/catalystneuro-website/commit/7730c8d6b4293db414d2894e6fda4d885a86b105 [Edit](https://github.com/catalystneuro/catalystneuro-website/edit/sweep/allow_cms_to_submit_prs_1_2954f/static/admin/config.yml) - [X] Running GitHub Actions for `static/admin/config.yml` ✓ [Edit](https://github.com/catalystneuro/catalystneuro-website/edit/sweep/allow_cms_to_submit_prs_1_2954f/static/admin/config.yml)